home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 June / MacFormat 25.iso / Shareware City / Developers / kvikkalkul / kvik / text / posting1 < prev    next >
Mailbox/MIME Entity  |  1995-04-05  |  15.7 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Mailbox/MIME Entity (archive/mbox).

You can browse this item here: posting1

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Mailbox/MIME Entity (archive/mbox) magic Supported
100% dexvert Internet Message Format (text/imf) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file Mailbox text, 1st line "From prlhp1!cam.news.pipex.net!pipex!howland.reston.ans.net!EU.net!news.eunet.fi!anon.penet.fi Thu Oct 27 15:42:50 1994", ASCII text default
100% TrID E-Mail message (Var. 2) default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried x-fmt/111 Plain Text File default
100% detectItEasy Format: plain text[LF] default (weak)
100% xdgMime application/mbox default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 46 72 6f 6d 20 70 72 6c | 68 70 31 21 63 61 6d 2e |From prl|hp1!cam.|
|00000010| 6e 65 77 73 2e 70 69 70 | 65 78 2e 6e 65 74 21 70 |news.pip|ex.net!p|
|00000020| 69 70 65 78 21 68 6f 77 | 6c 61 6e 64 2e 72 65 73 |ipex!how|land.res|
|00000030| 74 6f 6e 2e 61 6e 73 2e | 6e 65 74 21 45 55 2e 6e |ton.ans.|net!EU.n|
|00000040| 65 74 21 6e 65 77 73 2e | 65 75 6e 65 74 2e 66 69 |et!news.|eunet.fi|
|00000050| 21 61 6e 6f 6e 2e 70 65 | 6e 65 74 2e 66 69 20 54 |!anon.pe|net.fi T|
|00000060| 68 75 20 4f 63 74 20 32 | 37 20 31 35 3a 34 32 3a |hu Oct 2|7 15:42:|
|00000070| 35 30 20 31 39 39 34 0a | 58 72 65 66 3a 20 70 72 |50 1994.|Xref: pr|
|00000080| 6c 68 70 31 20 61 6c 74 | 2e 66 6f 6c 6b 6c 6f 72 |lhp1 alt|.folklor|
|00000090| 65 2e 63 6f 6d 70 75 74 | 65 72 73 3a 35 37 34 32 |e.comput|ers:5742|
|000000a0| 35 0a 4d 65 73 73 61 67 | 65 2d 49 44 3a 20 3c 30 |5.Messag|e-ID: <0|
|000000b0| 38 31 33 30 31 5a 32 30 | 31 30 31 39 39 34 40 61 |81301Z20|101994@a|
|000000c0| 6e 6f 6e 2e 70 65 6e 65 | 74 2e 66 69 3e 0a 50 61 |non.pene|t.fi>.Pa|
|000000d0| 74 68 3a 20 70 72 6c 68 | 70 31 21 63 61 6d 2e 6e |th: prlh|p1!cam.n|
|000000e0| 65 77 73 2e 70 69 70 65 | 78 2e 6e 65 74 21 70 69 |ews.pipe|x.net!pi|
|000000f0| 70 65 78 21 68 6f 77 6c | 61 6e 64 2e 72 65 73 74 |pex!howl|and.rest|
|00000100| 6f 6e 2e 61 6e 73 2e 6e | 65 74 21 45 55 2e 6e 65 |on.ans.n|et!EU.ne|
|00000110| 74 21 6e 65 77 73 2e 65 | 75 6e 65 74 2e 66 69 21 |t!news.e|unet.fi!|
|00000120| 61 6e 6f 6e 2e 70 65 6e | 65 74 2e 66 69 0a 4e 65 |anon.pen|et.fi.Ne|
|00000130| 77 73 67 72 6f 75 70 73 | 3a 20 61 6c 74 2e 66 6f |wsgroups|: alt.fo|
|00000140| 6c 6b 6c 6f 72 65 2e 63 | 6f 6d 70 75 74 65 72 73 |lklore.c|omputers|
|00000150| 0a 46 72 6f 6d 3a 20 61 | 6e 33 31 35 31 37 40 61 |.From: a|n31517@a|
|00000160| 6e 6f 6e 2e 70 65 6e 65 | 74 2e 66 69 0a 58 2d 41 |non.pene|t.fi.X-A|
|00000170| 6e 6f 6e 79 6d 6f 75 73 | 6c 79 2d 54 6f 3a 20 61 |nonymous|ly-To: a|
|00000180| 6c 74 2e 66 6f 6c 6b 6c | 6f 72 65 2e 63 6f 6d 70 |lt.folkl|ore.comp|
|00000190| 75 74 65 72 73 0a 4f 72 | 67 61 6e 69 7a 61 74 69 |uters.Or|ganizati|
|000001a0| 6f 6e 3a 20 41 6e 6f 6e | 79 6d 6f 75 73 20 63 6f |on: Anon|ymous co|
|000001b0| 6e 74 61 63 74 20 73 65 | 72 76 69 63 65 0a 52 65 |ntact se|rvice.Re|
|000001c0| 70 6c 79 2d 54 6f 3a 20 | 61 6e 33 31 35 31 37 40 |ply-To: |an31517@|
|000001d0| 61 6e 6f 6e 2e 70 65 6e | 65 74 2e 66 69 0a 44 61 |anon.pen|et.fi.Da|
|000001e0| 74 65 3a 20 54 68 75 2c | 20 32 30 20 4f 63 74 20 |te: Thu,| 20 Oct |
|000001f0| 31 39 39 34 20 30 38 3a | 30 36 3a 34 33 20 55 54 |1994 08:|06:43 UT|
|00000200| 43 0a 53 75 62 6a 65 63 | 74 3a 20 52 45 50 4f 53 |C.Subjec|t: REPOS|
|00000210| 54 3a 20 6b 76 69 6b 6b | 61 6c 6b 75 6c 0a 4c 69 |T: kvikk|alkul.Li|
|00000220| 6e 65 73 3a 20 34 31 30 | 0a 0a 0a 54 48 45 20 4b |nes: 410|...THE K|
|00000230| 56 49 4b 4b 41 4c 4b 55 | 4c 20 50 52 4f 47 52 41 |VIKKALKU|L PROGRA|
|00000240| 4d 4d 49 4e 47 20 4c 41 | 4e 47 55 41 47 45 0a 0a |MMING LA|NGUAGE..|
|00000250| 4e 6f 74 65 3a 20 74 68 | 69 73 20 6d 65 73 73 61 |Note: th|is messa|
|00000260| 67 65 20 63 6f 6e 74 61 | 69 6e 73 20 74 6f 70 20 |ge conta|ins top |
|00000270| 73 65 63 72 65 74 20 69 | 6e 66 6f 72 6d 61 74 69 |secret i|nformati|
|00000280| 6f 6e 20 6f 66 20 74 68 | 65 20 53 77 65 64 69 73 |on of th|e Swedis|
|00000290| 68 20 4e 61 76 79 2e 0a | 20 20 20 20 20 20 50 6f |h Navy..| Po|
|000002a0| 73 73 65 73 73 69 6f 6e | 20 6f 66 20 74 68 69 73 |ssession| of this|
|000002b0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 69 6e 20 | informa|tion in |
|000002c0| 53 77 65 64 65 6e 20 63 | 61 6e 20 28 61 6e 64 20 |Sweden c|an (and |
|000002d0| 77 69 6c 6c 20 69 6e 20 | 6d 6f 73 74 20 63 61 73 |will in |most cas|
|000002e0| 65 73 29 0a 20 20 20 20 | 20 20 6c 65 61 64 20 74 |es). | lead t|
|000002f0| 6f 20 43 61 70 69 74 61 | 6c 20 50 75 6e 69 73 68 |o Capita|l Punish|
|00000300| 6d 65 6e 74 2e 20 44 4f | 20 4e 4f 54 20 44 49 53 |ment. DO| NOT DIS|
|00000310| 54 52 49 42 55 54 45 20 | 54 48 49 53 20 49 4e 46 |TRIBUTE |THIS INF|
|00000320| 4f 52 4d 41 54 49 4f 4e | 0a 20 20 20 20 20 20 54 |ORMATION|. T|
|00000330| 4f 20 53 57 45 44 45 4e | 21 21 21 20 0a 20 20 20 |O SWEDEN|!!! . |
|00000340| 20 20 20 0a 49 4e 54 52 | 4f 44 55 43 54 49 4f 4e | .INTR|ODUCTION|
|00000350| 0a 0a 57 68 65 6e 20 49 | 20 77 6f 72 6b 65 64 20 |..When I| worked |
|00000360| 66 6f 72 20 74 68 65 20 | 53 77 65 64 69 73 68 20 |for the |Swedish |
|00000370| 4e 61 76 79 20 69 6e 20 | 31 39 35 37 20 61 73 20 |Navy in |1957 as |
|00000380| 61 20 70 72 6f 67 72 61 | 6d 6d 65 72 2c 20 6d 79 |a progra|mmer, my|
|00000390| 20 74 61 73 6b 20 77 61 | 73 20 74 6f 0a 77 72 69 | task wa|s to.wri|
|000003a0| 74 65 20 70 72 6f 67 72 | 61 6d 73 20 66 6f 72 20 |te progr|ams for |
|000003b0| 74 68 65 20 53 41 42 49 | 4e 41 20 63 6f 6d 70 75 |the SABI|NA compu|
|000003c0| 74 65 72 2c 20 6f 6e 65 | 20 6f 66 20 74 68 65 20 |ter, one| of the |
|000003d0| 66 69 72 73 74 20 74 72 | 61 6e 73 69 73 74 6f 72 |first tr|ansistor|
|000003e0| 69 73 65 64 0a 63 6f 6d | 70 75 74 65 72 73 20 69 |ised.com|puters i|
|000003f0| 6e 20 74 68 65 20 77 6f | 72 6c 64 2c 20 6d 61 6e |n the wo|rld, man|
|00000400| 75 66 61 63 74 75 72 65 | 64 20 62 79 20 53 41 41 |ufacture|d by SAA|
|00000410| 42 20 66 6f 72 20 75 73 | 65 20 6f 6e 20 53 77 65 |B for us|e on Swe|
|00000420| 64 69 73 68 20 73 75 62 | 6d 61 72 69 6e 65 73 2e |dish sub|marines.|
|00000430| 0a 54 68 65 20 63 6f 6d | 70 75 74 65 72 20 77 61 |.The com|puter wa|
|00000440| 73 20 6c 6f 63 61 74 65 | 64 20 6f 6e 20 61 20 74 |s locate|d on a t|
|00000450| 65 73 74 20 66 61 63 69 | 6c 69 74 79 20 69 6e 20 |est faci|lity in |
|00000460| 4b 61 72 6c 73 6b 72 6f | 6e 61 2c 20 74 68 65 20 |Karlskro|na, the |
|00000470| 53 77 65 64 69 73 68 20 | 0a 4e 61 76 79 20 62 61 |Swedish |.Navy ba|
|00000480| 73 65 2e 20 41 6c 6c 20 | 70 72 6f 67 72 61 6d 6d |se. All |programm|
|00000490| 69 6e 67 20 77 61 73 20 | 64 6f 6e 65 20 69 6e 20 |ing was |done in |
|000004a0| 61 20 66 75 6e 6b 79 20 | 6c 61 6e 67 75 61 67 65 |a funky |language|
|000004b0| 20 63 61 6c 6c 65 64 20 | 27 6b 76 69 6b 6b 61 6c | called |'kvikkal|
|000004c0| 6b 75 6c 27 2c 0a 61 20 | 6c 61 6e 67 75 61 67 65 |kul',.a |language|
|000004d0| 20 74 68 61 74 20 6d 61 | 6b 65 73 20 41 73 73 65 | that ma|kes Asse|
|000004e0| 6d 62 6c 65 72 20 28 6f | 72 20 65 76 65 6e 20 49 |mbler (o|r even I|
|000004f0| 4e 54 45 52 43 41 4c 29 | 20 6c 6f 6f 6b 20 66 72 |NTERCAL)| look fr|
|00000500| 69 65 6e 64 6c 79 2e 20 | 0a 54 68 65 20 6d 65 72 |iendly. |.The mer|
|00000510| 65 20 65 78 69 73 74 65 | 6e 63 65 20 6f 66 20 53 |e existe|nce of S|
|00000520| 41 42 49 4e 41 20 61 6e | 64 20 74 68 65 20 70 72 |ABINA an|d the pr|
|00000530| 6f 67 72 61 6d 6d 69 6e | 67 20 6c 61 6e 67 75 61 |ogrammin|g langua|
|00000540| 67 65 20 27 6b 76 69 6b | 6b 61 6c 6b 75 6c 27 20 |ge 'kvik|kalkul' |
|00000550| 77 61 73 20 61 6e 64 0a | 73 74 69 6c 6c 20 69 73 |was and.|still is|
|00000560| 20 74 6f 70 20 73 65 63 | 72 65 74 2e 20 4f 74 68 | top sec|ret. Oth|
|00000570| 65 72 20 74 6f 70 20 73 | 65 63 72 65 74 73 20 6f |er top s|ecrets o|
|00000580| 66 20 74 68 61 74 20 61 | 67 65 20 6c 65 61 6b 65 |f that a|ge leake|
|00000590| 64 20 69 6e 74 6f 20 70 | 75 62 6c 69 63 69 74 79 |d into p|ublicity|
|000005a0| 20 6c 6f 6e 67 0a 61 67 | 6f 2c 20 62 75 74 20 74 | long.ag|o, but t|
|000005b0| 68 69 73 20 6f 6e 65 20 | 69 73 20 73 74 69 6c 6c |his one |is still|
|000005c0| 20 70 72 65 73 65 72 76 | 65 64 2e 20 55 6e 74 69 | preserv|ed. Unti|
|000005d0| 6c 20 6e 6f 77 2e 20 20 | 0a 0a 41 70 61 72 74 20 |l now. |..Apart |
|000005e0| 66 72 6f 6d 20 72 65 61 | 6c 2d 74 69 6d 65 20 73 |from rea|l-time s|
|000005f0| 75 62 6d 61 72 69 6e 65 | 20 61 70 70 6c 69 63 61 |ubmarine| applica|
|00000600| 74 69 6f 6e 73 20 73 75 | 63 68 20 61 73 20 67 75 |tions su|ch as gu|
|00000610| 69 64 65 64 20 74 6f 72 | 70 65 64 6f 20 63 6f 6e |ided tor|pedo con|
|00000620| 74 72 6f 6c 2c 20 49 0a | 64 69 64 20 61 6e 20 61 |trol, I.|did an a|
|00000630| 63 63 6f 75 6e 74 69 6e | 67 20 70 61 63 6b 61 67 |ccountin|g packag|
|00000640| 65 20 69 6e 20 6b 76 69 | 6b 6b 61 6c 6b 75 6c 20 |e in kvi|kkalkul |
|00000650| 61 73 20 77 65 6c 6c 2e | 20 0a 0a 54 48 45 20 43 |as well.| ..THE C|
|00000660| 48 41 52 41 43 54 45 52 | 20 53 45 54 0a 0a 4b 76 |HARACTER| SET..Kv|
|00000670| 69 6b 6b 61 6c 6b 75 6c | 20 77 61 73 20 74 79 70 |ikkalkul| was typ|
|00000680| 65 64 20 6f 6e 20 42 61 | 75 64 6f 74 20 65 6e 63 |ed on Ba|udot enc|
|00000690| 6f 64 65 64 20 74 65 6c | 65 74 79 70 65 20 6d 61 |oded tel|etype ma|
|000006a0| 63 68 69 6e 65 73 2e 20 | 50 72 6f 67 72 61 6d 73 |chines. |Programs|
|000006b0| 20 77 65 72 65 0a 73 74 | 6f 72 65 64 20 6f 6e 20 | were.st|ored on |
|000006c0| 70 61 70 65 72 20 74 61 | 70 65 2e 20 41 73 20 79 |paper ta|pe. As y|
|000006d0| 6f 75 20 6d 69 67 68 74 | 20 6b 6e 6f 77 2c 20 42 |ou might| know, B|
|000006e0| 61 75 64 6f 74 20 69 73 | 20 61 20 66 69 76 65 20 |audot is| a five |
|000006f0| 62 69 74 20 63 6f 64 65 | 2e 20 54 68 65 0a 6d 61 |bit code|. The.ma|
|00000700| 63 68 69 6e 65 20 63 61 | 6e 20 62 65 20 69 6e 20 |chine ca|n be in |
|00000710| 74 77 6f 20 6d 6f 64 65 | 73 2c 20 74 68 65 20 27 |two mode|s, the '|
|00000720| 6c 65 74 74 65 72 73 27 | 20 6d 6f 64 65 20 61 6e |letters'| mode an|
|00000730| 64 20 74 68 65 20 27 66 | 69 67 75 72 65 73 27 20 |d the 'f|igures' |
|00000740| 6d 6f 64 65 2e 0a 49 6e | 20 27 6c 65 74 74 65 72 |mode..In| 'letter|
|00000750| 73 27 20 6d 6f 64 65 20 | 79 6f 75 20 68 61 76 65 |s' mode |you have|
|00000760| 20 74 68 65 20 32 36 20 | 6c 65 74 74 65 72 20 73 | the 26 |letter s|
|00000770| 79 6d 62 6f 6c 73 2c 20 | 69 6e 20 27 66 69 67 75 |ymbols, |in 'figu|
|00000780| 72 65 73 27 20 6d 6f 64 | 65 20 79 6f 75 20 68 61 |res' mod|e you ha|
|00000790| 76 65 0a 74 68 65 20 74 | 65 6e 20 64 69 67 69 74 |ve.the t|en digit|
|000007a0| 73 20 61 6e 64 20 73 6f | 6d 65 20 70 75 6e 63 74 |s and so|me punct|
|000007b0| 75 61 74 69 6f 6e 20 6d | 61 72 6b 73 2e 20 54 68 |uation m|arks. Th|
|000007c0| 65 20 63 6f 64 65 73 20 | 74 6f 20 73 77 69 74 63 |e codes |to switc|
|000007d0| 68 20 74 6f 20 74 68 65 | 20 27 6c 65 74 74 65 72 |h to the| 'letter|
|000007e0| 73 27 0a 6f 72 20 27 66 | 69 67 75 72 65 73 27 20 |s'.or 'f|igures' |
|000007f0| 6d 6f 64 65 2c 20 74 68 | 65 20 73 70 61 63 65 2c |mode, th|e space,|
|00000800| 20 74 68 65 20 6c 69 6e | 65 66 65 65 64 20 61 6e | the lin|efeed an|
|00000810| 64 20 63 61 72 72 69 61 | 67 65 20 72 65 74 75 72 |d carria|ge retur|
|00000820| 6e 20 63 6f 64 65 73 20 | 61 72 65 0a 61 76 61 69 |n codes |are.avai|
|00000830| 6c 61 62 6c 65 20 69 6e | 20 62 6f 74 68 20 6d 6f |lable in| both mo|
|00000840| 64 65 73 2e 20 4b 76 69 | 6b 6b 61 6c 6b 75 6c 20 |des. Kvi|kkalkul |
|00000850| 75 73 65 64 20 73 79 6d | 62 6f 6c 73 20 66 72 6f |used sym|bols fro|
|00000860| 6d 20 74 68 65 20 27 66 | 69 67 75 72 65 73 27 20 |m the 'f|igures' |
|00000870| 6d 6f 64 65 0a 65 78 63 | 6c 75 73 69 76 65 6c 79 |mode.exc|lusively|
|00000880| 2c 20 74 68 65 72 65 66 | 6f 72 65 20 69 74 20 68 |, theref|ore it h|
|00000890| 61 64 20 6e 6f 20 6c 65 | 74 74 65 72 73 2e 20 49 |ad no le|tters. I|
|000008a0| 66 20 79 6f 75 20 74 79 | 70 65 64 20 6c 65 74 74 |f you ty|ped lett|
|000008b0| 65 72 73 20 69 6e 20 79 | 6f 75 72 20 70 72 6f 67 |ers in y|our prog|
|000008c0| 72 61 6d 0a 74 68 65 79 | 20 77 65 72 65 20 69 6e |ram.they| were in|
|000008d0| 74 65 72 70 72 65 74 65 | 64 20 61 73 20 74 68 65 |terprete|d as the|
|000008e0| 20 63 6f 72 72 65 73 70 | 6f 6e 64 69 6e 67 20 27 | corresp|onding '|
|000008f0| 66 69 67 75 72 65 73 27 | 20 6d 6f 64 65 20 73 79 |figures'| mode sy|
|00000900| 6d 62 6f 6c 73 2e 20 4b | 76 69 6b 6b 61 6c 6b 75 |mbols. K|vikkalku|
|00000910| 6c 0a 68 61 64 20 6e 6f | 20 63 6f 6d 6d 65 6e 74 |l.had no| comment|
|00000920| 73 20 6f 72 20 74 65 78 | 74 20 6c 69 74 65 72 61 |s or tex|t litera|
|00000930| 6c 73 20 65 69 74 68 65 | 72 3b 20 74 68 65 72 65 |ls eithe|r; there|
|00000940| 20 77 65 72 65 20 6e 6f | 20 6c 65 74 74 65 72 73 | were no| letters|
|00000950| 20 69 6e 20 74 68 65 0a | 6c 61 6e 67 75 61 67 65 | in the.|language|
|00000960| 2e 20 50 65 72 69 6f 64 | 2e 0a 0a 54 68 65 20 61 |. Period|...The a|
|00000970| 76 61 69 6c 61 62 6c 65 | 20 73 79 6d 62 6f 6c 73 |vailable| symbols|
|00000980| 20 77 65 72 65 3a 20 43 | 52 2f 4c 46 2c 20 53 70 | were: C|R/LF, Sp|
|00000990| 61 63 65 2c 20 30 2c 20 | 31 2c 20 32 2c 20 33 2c |ace, 0, |1, 2, 3,|
|000009a0| 20 34 2c 20 35 2c 20 36 | 2c 20 37 2c 20 38 2c 20 | 4, 5, 6|, 7, 8, |
|000009b0| 39 2c 0a 70 65 72 69 6f | 64 28 2e 29 2c 20 63 6f |9,.perio|d(.), co|
|000009c0| 6d 6d 61 28 2c 29 2c 20 | 71 75 6f 74 65 28 22 29 |mma(,), |quote(")|
|000009d0| 2c 20 63 6f 6c 6f 6e 28 | 3a 29 2c 20 64 61 73 68 |, colon(|:), dash|
|000009e0| 28 2d 29 2c 20 73 6c 61 | 73 68 28 2f 29 20 61 6e |(-), sla|sh(/) an|
|000009f0| 64 20 74 68 65 20 6c 65 | 66 74 20 61 6e 64 20 72 |d the le|ft and r|
|00000a00| 69 67 68 74 0a 70 61 72 | 65 6e 74 68 65 73 65 73 |ight.par|entheses|
|00000a10| 20 28 20 61 6e 64 20 29 | 2e 20 0a 0a 45 61 63 68 | ( and )|. ..Each|
|00000a20| 20 73 74 61 74 65 6d 65 | 6e 74 20 77 61 73 20 6f | stateme|nt was o|
|00000a30| 6e 20 61 20 73 65 70 61 | 72 61 74 65 20 6c 69 6e |n a sepa|rate lin|
|00000a40| 65 2e 20 0a 0a 54 48 45 | 20 4e 55 4d 42 45 52 20 |e. ..THE| NUMBER |
|00000a50| 53 59 53 54 45 4d 0a 0a | 54 68 65 20 6f 6e 6c 79 |SYSTEM..|The only|
|00000a60| 20 64 61 74 61 20 74 79 | 70 65 20 69 6e 20 6b 76 | data ty|pe in kv|
|00000a70| 69 6b 6b 61 6c 6b 75 6c | 20 77 61 73 20 74 68 65 |ikkalkul| was the|
|00000a80| 20 73 69 67 6e 65 64 20 | 66 69 78 65 64 20 70 6f | signed |fixed po|
|00000a90| 69 6e 74 20 66 72 61 63 | 74 69 6f 6e 61 6c 20 6e |int frac|tional n|
|00000aa0| 75 6d 62 65 72 2e 0a 54 | 68 65 20 72 65 61 73 6f |umber..T|he reaso|
|00000ab0| 6e 20 66 6f 72 20 74 68 | 69 73 20 77 61 73 20 74 |n for th|is was t|
|00000ac0| 68 61 74 20 74 68 65 20 | 70 72 65 63 69 73 69 6f |hat the |precisio|
|00000ad0| 6e 20 6f 66 20 6e 75 6d | 62 65 72 73 20 63 6f 75 |n of num|bers cou|
|00000ae0| 6c 64 20 62 65 20 65 78 | 74 65 6e 64 65 64 20 77 |ld be ex|tended w|
|00000af0| 69 74 68 6f 75 74 0a 62 | 72 65 61 6b 69 6e 67 20 |ithout.b|reaking |
|00000b00| 65 78 69 73 74 69 6e 67 | 20 70 72 6f 67 72 61 6d |existing| program|
|00000b10| 73 2e 20 4b 76 69 6b 6b | 61 6c 6b 75 6c 20 77 61 |s. Kvikk|alkul wa|
|00000b20| 73 20 64 65 73 69 67 6e | 65 64 20 66 6f 72 20 73 |s design|ed for s|
|00000b30| 75 63 68 20 74 68 69 6e | 67 73 20 61 73 20 72 65 |uch thin|gs as re|
|00000b40| 61 6c 0a 74 69 6d 65 20 | 63 6f 6e 74 72 6f 6c 2c |al.time |control,|
|00000b50| 20 73 6f 20 74 68 69 73 | 20 73 65 65 6d 65 64 20 | so this| seemed |
|00000b60| 73 65 6e 73 69 62 6c 65 | 2e 20 54 68 65 20 64 6f |sensible|. The do|
|00000b70| 77 6e 73 69 64 65 20 77 | 61 73 20 74 68 61 74 20 |wnside w|as that |
|00000b80| 79 6f 75 20 68 61 64 20 | 6e 6f 20 0a 69 6e 74 65 |you had |no .inte|
|00000b90| 67 65 72 73 20 6f 72 20 | 77 68 61 74 65 76 65 72 |gers or |whatever|
|00000ba0| 20 6f 74 68 65 72 20 64 | 61 74 61 20 74 79 70 65 | other d|ata type|
|00000bb0| 2e 20 45 76 65 6e 20 61 | 72 72 61 79 73 20 77 65 |. Even a|rrays we|
|00000bc0| 72 65 20 69 6e 64 65 78 | 65 64 20 77 69 74 68 0a |re index|ed with.|
|00000bd0| 66 72 61 63 74 69 6f 6e | 61 6c 20 6e 75 6d 62 65 |fraction|al numbe|
|00000be0| 72 73 2e 0a 0a 54 68 65 | 20 6d 69 6e 69 6d 75 6d |rs...The| minimum|
|00000bf0| 20 70 72 65 63 69 73 69 | 6f 6e 20 79 6f 75 20 63 | precisi|on you c|
|00000c00| 6f 75 6c 64 20 72 65 6c | 79 20 6f 6e 20 77 61 73 |ould rel|y on was|
|00000c10| 20 31 35 20 62 69 74 73 | 2e 20 54 68 69 73 20 69 | 15 bits|. This i|
|00000c20| 73 20 61 20 73 69 67 6e | 20 62 69 74 20 61 6e 64 |s a sign| bit and|
|00000c30| 0a 31 34 20 73 69 67 6e | 69 66 69 63 61 6e 74 20 |.14 sign|ificant |
|00000c40| 66 72 61 63 74 69 6f 6e | 61 6c 20 62 69 74 73 2e |fraction|al bits.|
|00000c50| 20 54 68 65 20 72 65 70 | 72 65 73 65 6e 74 61 74 | The rep|resentat|
|00000c60| 69 6f 6e 20 77 61 73 20 | 6f 6e 65 27 73 20 63 6f |ion was |one's co|
|00000c70| 6d 70 6c 65 6d 65 6e 74 | 2e 0a 54 68 65 20 64 61 |mplement|..The da|
|00000c80| 74 61 20 77 6f 72 64 20 | 77 69 74 68 20 61 6c 6c |ta word |with all|
|00000c90| 20 62 69 74 73 20 73 65 | 74 20 28 6d 69 6e 75 73 | bits se|t (minus|
|00000ca0| 20 7a 65 72 6f 29 20 64 | 65 6e 6f 74 65 64 20 6f | zero) d|enoted o|
|00000cb0| 76 65 72 66 6c 6f 77 2e | 20 54 68 65 72 65 20 77 |verflow.| There w|
|00000cc0| 65 72 65 0a 31 36 33 38 | 33 20 70 6f 73 69 74 69 |ere.1638|3 positi|
|00000cd0| 76 65 20 6e 75 6d 62 65 | 72 73 2c 20 30 20 61 6e |ve numbe|rs, 0 an|
|00000ce0| 64 20 31 36 33 38 33 20 | 6e 65 67 61 74 69 76 65 |d 16383 |negative|
|00000cf0| 20 6e 75 6d 62 65 72 73 | 2e 20 54 68 65 20 6d 69 | numbers|. The mi|
|00000d00| 6e 69 6d 75 6d 20 6e 75 | 6d 62 65 72 0a 77 61 73 |nimum nu|mber.was|
|00000d10| 20 61 20 62 69 74 20 68 | 69 67 68 65 72 20 74 68 | a bit h|igher th|
|00000d20| 61 6e 20 2d 31 20 61 6e | 64 20 74 68 65 20 6d 61 |an -1 an|d the ma|
|00000d30| 78 69 6d 75 6d 20 6e 75 | 6d 62 65 72 20 77 61 73 |ximum nu|mber was|
|00000d40| 20 61 20 62 69 74 20 6c | 6f 77 65 72 20 74 68 61 | a bit l|ower tha|
|00000d50| 6e 20 31 2e 20 20 0a 59 | 6f 75 20 64 69 64 6e 27 |n 1. .Y|ou didn'|
|00000d60| 74 20 68 61 76 65 20 6e | 75 6d 62 65 72 73 20 67 |t have n|umbers g|
|00000d70| 72 65 61 74 65 72 20 74 | 68 61 6e 20 31 2c 20 65 |reater t|han 1, e|
|00000d80| 76 65 6e 20 6e 6f 74 20 | 31 20 69 74 73 65 6c 66 |ven not |1 itself|
|00000d90| 2e 20 0a 0a 45 76 65 72 | 79 20 6f 70 65 72 61 74 |. ..Ever|y operat|
|00000da0| 69 6f 6e 20 74 68 61 74 | 20 77 6f 75 6c 64 20 70 |ion that| would p|
|00000db0| 72 6f 64 75 63 65 20 61 | 20 72 65 73 75 6c 74 20 |roduce a| result |
|00000dc0| 6f 75 74 73 69 64 65 20 | 74 68 65 20 72 61 6e 67 |outside |the rang|
|00000dd0| 65 20 28 2d 31 2c 31 29 | 0a 77 6f 75 6c 64 20 72 |e (-1,1)|.would r|
|00000de0| 65 74 75 72 6e 20 74 68 | 65 20 73 70 65 63 69 61 |eturn th|e specia|
|00000df0| 6c 20 6f 76 65 72 66 6c | 6f 77 20 76 61 6c 75 65 |l overfl|ow value|
|00000e00| 20 77 69 74 68 20 61 6c | 6c 20 62 69 74 73 20 73 | with al|l bits s|
|00000e10| 65 74 2e 0a 0a 4e 75 6d | 62 65 72 73 20 77 65 72 |et...Num|bers wer|
|00000e20| 65 20 65 6e 74 65 72 65 | 64 20 61 73 20 64 65 63 |e entere|d as dec|
|00000e30| 69 6d 61 6c 20 66 72 61 | 63 74 69 6f 6e 73 2c 20 |imal fra|ctions, |
|00000e40| 73 74 61 72 74 69 6e 67 | 20 77 69 74 68 20 61 20 |starting| with a |
|00000e50| 63 6f 6d 6d 61 20 28 74 | 68 65 20 53 77 65 64 69 |comma (t|he Swedi|
|00000e60| 73 68 0a 72 65 70 72 65 | 73 65 6e 74 61 74 69 6f |sh.repre|sentatio|
|00000e70| 6e 20 66 6f 72 20 64 65 | 63 69 6d 61 6c 20 70 6f |n for de|cimal po|
|00000e80| 69 6e 74 29 2e 20 20 65 | 2e 67 2e 20 2c 31 32 35 |int). e|.g. ,125|
|00000e90| 20 64 65 6e 6f 74 65 73 | 20 31 2f 38 2e 0a 0a 4b | denotes| 1/8...K|
|00000ea0| 76 69 6b 6b 61 6c 6b 75 | 6c 20 68 61 64 20 74 68 |vikkalku|l had th|
|00000eb0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6f 70 65 72 |e follow|ing oper|
|00000ec0| 61 74 6f 72 73 0a 0a 41 | 73 73 69 67 6e 6d 65 6e |ators..A|ssignmen|
|00000ed0| 74 2f 70 6f 69 6e 74 65 | 72 0a 28 2d 20 20 41 73 |t/pointe|r.(- As|
|00000ee0| 73 69 67 6e 6d 65 6e 74 | 0a 2d 29 20 20 50 6f 69 |signment|.-) Poi|
|00000ef0| 6e 74 73 20 74 6f 0a 28 | 28 20 20 50 72 65 76 69 |nts to.(|( Previ|
|00000f00| 6f 75 73 0a 29 29 20 20 | 4e 65 78 74 0a 0a 41 72 |ous.)) |Next..Ar|
|00000f10| 69 74 68 6d 65 74 69 63 | 0a 2d 2f 2d 20 50 6c 75 |ithmetic|.-/- Plu|
|00000f20| 73 0a 20 20 2d 2d 20 20 | 4d 69 6e 75 73 0a 29 28 |s. -- |Minus.)(|
|00000f30| 20 20 54 69 6d 65 73 0a | 2d 3a 2d 20 44 69 76 69 | Times.|-:- Divi|
|00000f40| 64 65 0a 2d 20 20 20 55 | 6e 61 72 79 20 4d 69 6e |de.- U|nary Min|
|00000f50| 75 73 0a 0a 52 65 6c 61 | 74 69 6f 6e 61 6c 0a 3a |us..Rela|tional.:|
|00000f60| 3a 20 20 45 71 75 61 6c | 0a 3a 2f 3a 20 4e 6f 74 |: Equal|.:/: Not|
|00000f70| 20 45 71 75 61 6c 20 20 | 0a 28 20 20 20 4c 65 73 | Equal |.( Les|
|00000f80| 73 0a 29 20 20 20 47 72 | 65 61 74 65 72 0a 28 3a |s.) Gr|eater.(:|
|00000f90| 20 20 4c 65 73 73 20 6f | 72 20 45 71 75 61 6c 0a | Less o|r Equal.|
|00000fa0| 29 3a 20 20 47 72 65 61 | 74 65 72 20 6f 72 20 45 |): Grea|ter or E|
|00000fb0| 71 75 61 6c 0a 0a 41 73 | 73 69 67 6e 6d 65 6e 74 |qual..As|signment|
|00000fc0| 20 73 74 61 74 65 6d 65 | 6e 74 73 20 63 6f 6e 73 | stateme|nts cons|
|00000fd0| 69 73 74 65 64 20 6f 66 | 20 61 6e 20 6f 62 6a 65 |isted of| an obje|
|00000fe0| 63 74 2c 20 74 68 65 20 | 61 73 73 69 67 6e 6d 65 |ct, the |assignme|
|00000ff0| 6e 74 20 6f 70 65 72 61 | 74 6f 72 20 61 6e 64 0a |nt opera|tor and.|
|00001000| 61 6e 20 65 78 70 72 65 | 73 73 69 6f 6e 2e 20 54 |an expre|ssion. T|
|00001010| 68 65 20 65 78 70 72 65 | 73 73 69 6f 6e 20 63 6f |he expre|ssion co|
|00001020| 6e 73 69 73 74 65 64 20 | 6f 66 20 6f 6e 65 20 6f |nsisted |of one o|
|00001030| 70 65 72 61 6e 64 20 6f | 72 20 74 77 6f 20 6f 70 |perand o|r two op|
|00001040| 65 72 61 6e 64 73 0a 73 | 65 70 61 72 61 74 65 64 |erands.s|eparated|
|00001050| 20 62 79 20 61 6e 20 61 | 72 69 74 68 6d 65 74 69 | by an a|rithmeti|
|00001060| 63 20 6f 70 65 72 61 74 | 6f 72 2e 20 41 6e 20 6f |c operat|or. An o|
|00001070| 70 65 72 61 6e 64 20 77 | 61 73 20 65 69 74 68 65 |perand w|as eithe|
|00001080| 72 20 61 20 6e 75 6d 62 | 65 72 20 6f 72 0a 61 6e |r a numb|er or.an|
|00001090| 20 6f 62 6a 65 63 74 20 | 77 69 74 68 20 61 6e 20 | object |with an |
|000010a0| 6f 70 74 69 6f 6e 61 6c | 20 75 6e 61 72 79 20 6d |optional| unary m|
|000010b0| 69 6e 75 73 20 6f 70 65 | 72 61 74 6f 72 2e 20 0a |inus ope|rator. .|
|000010c0| 42 65 6c 6f 77 20 61 72 | 65 20 74 77 6f 20 61 73 |Below ar|e two as|
|000010d0| 73 69 67 6e 6d 65 6e 74 | 20 73 74 61 74 65 6d 65 |signment| stateme|
|000010e0| 6e 74 73 0a 0a 2e 39 20 | 28 2d 20 2c 35 0a 2e 38 |nts...9 |(- ,5..8|
|000010f0| 20 28 2d 20 2e 39 20 29 | 28 20 2d 2c 33 33 33 33 | (- .9 )|( -,3333|
|00001100| 33 33 33 33 0a 0a 54 68 | 65 20 66 69 72 73 74 20 |3333..Th|e first |
|00001110| 61 73 73 69 67 6e 73 20 | 31 2f 32 20 74 6f 20 72 |assigns |1/2 to r|
|00001120| 65 67 69 73 74 65 72 20 | 39 2c 20 74 68 65 20 73 |egister |9, the s|
|00001130| 65 63 6f 6e 64 20 6f 6e | 65 20 6d 75 6c 74 69 70 |econd on|e multip|
|00001140| 6c 69 65 73 20 72 65 67 | 69 73 74 65 72 20 39 20 |lies reg|ister 9 |
|00001150| 62 79 20 0a 31 2f 33 20 | 61 6e 64 20 61 73 73 69 |by .1/3 |and assi|
|00001160| 67 6e 73 20 74 68 61 74 | 20 74 6f 20 72 65 67 69 |gns that| to regi|
|00001170| 73 74 65 72 20 38 2e 20 | 0a 0a 0a 54 48 45 20 50 |ster 8. |...THE P|
|00001180| 52 4f 47 52 41 4d 20 4f | 42 4a 45 43 54 53 0a 0a |ROGRAM O|BJECTS..|
|00001190| 54 68 65 20 6b 76 69 6b | 6b 61 6c 6b 75 6c 20 6f |The kvik|kalkul o|
|000011a0| 62 6a 65 63 74 73 20 61 | 72 65 20 72 65 67 69 73 |bjects a|re regis|
|000011b0| 74 65 72 73 2c 20 64 61 | 74 61 20 70 6f 69 6e 74 |ters, da|ta point|
|000011c0| 65 72 73 2c 20 70 72 6f | 67 72 61 6d 20 70 6f 69 |ers, pro|gram poi|
|000011d0| 6e 74 65 72 73 0a 61 6e | 64 20 63 68 61 6e 6e 65 |nters.an|d channe|
|000011e0| 6c 73 2e 20 54 68 65 79 | 20 61 72 65 20 64 65 6e |ls. They| are den|
|000011f0| 6f 74 65 64 20 62 79 20 | 61 20 73 70 65 63 69 61 |oted by |a specia|
|00001200| 6c 20 73 79 6d 62 6f 6c | 20 66 6f 6c 6c 6f 77 65 |l symbol| followe|
|00001210| 64 20 62 79 20 61 0a 64 | 69 67 69 74 2e 0a 0a 54 |d by a.d|igit...T|
|00001220| 68 65 72 65 20 61 72 65 | 20 31 30 20 6f 62 6a 65 |here are| 10 obje|
|00001230| 63 74 73 20 6f 66 20 65 | 61 63 68 20 74 79 70 65 |cts of e|ach type|
|00001240| 2c 20 6e 75 6d 62 65 72 | 65 64 20 66 72 6f 6d 20 |, number|ed from |
|00001250| 30 20 74 6f 20 39 2e 20 | 49 6e 20 66 61 63 74 20 |0 to 9. |In fact |
|00001260| 74 68 65 72 65 0a 77 65 | 72 65 20 31 36 20 6f 66 |there.we|re 16 of|
|00001270| 20 65 61 63 68 2c 20 62 | 75 74 20 74 68 65 20 6f | each, b|ut the o|
|00001280| 74 68 65 72 20 73 69 78 | 20 77 65 72 65 20 73 65 |ther six| were se|
|00001290| 63 72 65 74 20 61 6e 64 | 20 66 6f 72 20 69 6e 74 |cret and| for int|
|000012a0| 65 72 6e 61 6c 20 75 73 | 65 0a 62 79 20 74 68 65 |ernal us|e.by the|
|000012b0| 20 6c 69 62 72 61 72 79 | 20 72 6f 75 74 69 6e 65 | library| routine|
|000012c0| 73 20 6f 6e 6c 79 2e 20 | 0a 0a 31 20 52 45 47 49 |s only. |..1 REGI|
|000012d0| 53 54 45 52 53 0a 0a 41 | 20 72 65 67 69 73 74 65 |STERS..A| registe|
|000012e0| 72 20 63 61 6e 20 73 74 | 6f 72 65 20 6f 6e 65 20 |r can st|ore one |
|000012f0| 6e 75 6d 62 65 72 2e 20 | 52 65 67 69 73 74 65 72 |number. |Register|
|00001300| 73 20 61 72 65 20 64 65 | 6e 6f 74 65 64 20 62 79 |s are de|noted by|
|00001310| 20 61 20 70 65 72 69 6f | 64 28 2e 29 20 66 6f 6c | a perio|d(.) fol|
|00001320| 6c 6f 77 65 64 0a 62 79 | 20 61 20 64 69 67 69 74 |lowed.by| a digit|
|00001330| 2e 20 52 65 67 69 73 74 | 65 72 73 20 6d 79 20 62 |. Regist|ers my b|
|00001340| 65 20 75 73 65 64 20 69 | 6e 20 61 73 73 69 67 6e |e used i|n assign|
|00001350| 6d 65 6e 74 20 73 74 61 | 74 65 6d 65 6e 74 73 20 |ment sta|tements |
|00001360| 61 6e 64 20 61 73 0a 6f | 70 65 72 61 6e 64 73 20 |and as.o|perands |
|00001370| 69 6e 20 63 6f 6e 64 69 | 74 69 6f 6e 61 6c 20 6a |in condi|tional j|
|00001380| 75 6d 70 20 73 74 61 74 | 65 6d 65 6e 74 73 2e 20 |ump stat|ements. |
|00001390| 0a 0a 32 20 44 41 54 41 | 20 50 4f 49 4e 54 45 52 |..2 DATA| POINTER|
|000013a0| 53 0a 0a 41 20 64 61 74 | 61 20 70 6f 69 6e 74 65 |S..A dat|a pointe|
|000013b0| 72 20 70 6f 69 6e 74 73 | 20 74 6f 20 61 20 64 61 |r points| to a da|
|000013c0| 74 61 20 61 72 65 61 20 | 69 6e 20 6d 65 6d 6f 72 |ta area |in memor|
|000013d0| 79 2e 20 44 61 74 61 20 | 70 6f 69 6e 74 65 72 73 |y. Data |pointers|
|000013e0| 20 61 72 65 20 64 65 6e | 6f 74 65 64 0a 62 79 20 | are den|oted.by |
|000013f0| 61 20 73 6c 61 73 68 20 | 28 2f 29 20 66 6f 6c 6c |a slash |(/) foll|
|00001400| 6f 77 65 64 20 62 79 20 | 61 20 64 69 67 69 74 2e |owed by |a digit.|
|00001410| 20 44 61 74 61 20 70 6f | 69 6e 74 65 72 73 20 6d | Data po|inters m|
|00001420| 61 79 20 62 65 20 75 73 | 65 64 20 61 73 20 72 65 |ay be us|ed as re|
|00001430| 67 69 73 74 65 72 73 0a | 69 6e 20 61 73 73 69 67 |gisters.|in assig|
|00001440| 6e 6d 65 6e 74 20 73 74 | 61 74 65 6d 65 6e 74 73 |nment st|atements|
|00001450| 20 61 6e 64 20 63 6f 6e | 64 69 74 69 6f 6e 61 6c | and con|ditional|
|00001460| 20 6a 75 6d 70 20 73 74 | 61 74 65 6d 65 6e 74 73 | jump st|atements|
|00001470| 2e 20 54 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |. The co|ntents o|
|00001480| 66 20 74 68 65 0a 6d 65 | 6d 6f 72 79 20 6c 6f 63 |f the.me|mory loc|
|00001490| 61 74 69 6f 6e 20 74 68 | 65 20 64 61 74 61 20 61 |ation th|e data a|
|000014a0| 72 65 61 20 70 6f 69 6e | 74 73 20 74 6f 20 61 72 |rea poin|ts to ar|
|000014b0| 65 20 75 73 65 64 20 69 | 6e 20 74 68 61 74 20 63 |e used i|n that c|
|000014c0| 61 73 65 2e 20 42 65 66 | 6f 72 65 0a 79 6f 75 20 |ase. Bef|ore.you |
|000014d0| 63 61 6e 20 75 73 65 20 | 61 20 64 61 74 61 20 70 |can use |a data p|
|000014e0| 6f 69 6e 74 65 72 20 74 | 68 61 74 20 77 61 79 2c |ointer t|hat way,|
|000014f0| 20 79 6f 75 20 68 61 76 | 65 20 74 6f 20 6d 61 6b | you hav|e to mak|
|00001500| 65 20 69 74 20 70 6f 69 | 6e 74 20 74 6f 0a 61 20 |e it poi|nt to.a |
|00001510| 6d 65 6d 6f 72 79 20 6c | 6f 63 61 74 69 6f 6e 20 |memory l|ocation |
|00001520| 61 6e 64 20 79 6f 75 20 | 68 61 76 65 20 74 6f 20 |and you |have to |
|00001530| 72 65 73 65 72 76 65 20 | 6d 65 6d 6f 72 79 20 66 |reserve |memory f|
|00001540| 6f 72 20 69 74 2e 0a 0a | 54 68 65 20 73 74 61 74 |or it...|The stat|
|00001550| 65 6d 65 6e 74 20 0a 0a | 33 33 33 2f 20 34 34 0a |ement ..|333/ 44.|
|00001560| 0a 64 65 63 6c 61 72 65 | 73 20 61 20 73 74 6f 72 |.declare|s a stor|
|00001570| 61 67 65 20 61 72 65 61 | 20 66 6f 72 20 34 34 20 |age area| for 44 |
|00001580| 6e 75 6d 62 65 72 73 20 | 77 69 74 68 20 74 68 65 |numbers |with the|
|00001590| 20 6c 61 62 65 6c 20 33 | 33 33 2e 20 0a 0a 2f 30 | label 3|33. ../0|
|000015a0| 20 2d 29 20 33 33 33 0a | 0a 6d 61 6b 65 73 20 64 | -) 333.|.makes d|
|000015b0| 61 74 61 20 70 6f 69 6e | 74 65 72 20 30 20 70 6f |ata poin|ter 0 po|
|000015c0| 69 6e 74 20 74 6f 20 74 | 68 65 20 66 69 72 73 74 |int to t|he first|
|000015d0| 20 6e 75 6d 62 65 72 20 | 69 6e 20 74 68 61 74 20 | number |in that |
|000015e0| 61 72 65 61 2e 0a 0a 2f | 30 20 28 2d 20 2c 31 32 |area.../|0 (- ,12|
|000015f0| 37 0a 0a 73 74 6f 72 65 | 73 20 74 68 65 20 6e 75 |7..store|s the nu|
|00001600| 6d 62 65 72 20 2c 31 32 | 37 20 69 6e 74 6f 20 74 |mber ,12|7 into t|
|00001610| 68 61 74 20 6c 6f 63 61 | 74 69 6f 6e 2e 20 0a 0a |hat loca|tion. ..|
|00001620| 2f 30 20 29 29 0a 0a 6d | 61 6b 65 73 20 64 61 74 |/0 ))..m|akes dat|
|00001630| 61 20 70 6f 69 6e 74 65 | 72 20 30 20 70 6f 69 6e |a pointe|r 0 poin|
|00001640| 74 20 74 6f 20 74 68 65 | 20 6e 65 78 74 20 6c 6f |t to the| next lo|
|00001650| 63 61 74 69 6f 6e 20 69 | 6e 20 74 68 61 74 20 61 |cation i|n that a|
|00001660| 72 65 61 2e 0a 0a 2f 30 | 20 28 28 20 0a 0a 6d 61 |rea.../0| (( ..ma|
|00001670| 6b 65 73 20 69 74 20 70 | 6f 69 6e 74 20 74 6f 20 |kes it p|oint to |
|00001680| 74 68 65 20 70 72 65 76 | 69 6f 75 73 20 6c 6f 63 |the prev|ious loc|
|00001690| 61 74 69 6f 6e 2e 0a 0a | 4d 61 6b 69 6e 67 20 74 |ation...|Making t|
|000016a0| 68 65 20 70 6f 69 6e 74 | 65 72 20 70 6f 69 6e 74 |he point|er point|
|000016b0| 20 74 6f 20 61 20 72 61 | 6e 64 6f 6d 20 6c 6f 63 | to a ra|ndom loc|
|000016c0| 61 74 69 6f 6e 20 69 6e | 20 74 68 65 20 64 61 74 |ation in| the dat|
|000016d0| 61 20 61 72 65 61 2c 20 | 69 74 20 61 20 62 69 74 |a area, |it a bit|
|000016e0| 0a 74 72 69 63 6b 79 2e | 20 46 69 72 73 74 20 79 |.tricky.| First y|
|000016f0| 6f 75 20 68 61 76 65 20 | 74 6f 20 64 65 74 65 72 |ou have |to deter|
|00001700| 6d 69 6e 65 20 74 68 65 | 20 73 6d 61 6c 6c 65 73 |mine the| smalles|
|00001710| 74 20 70 6f 77 65 72 20 | 6f 66 20 74 77 6f 20 74 |t power |of two t|
|00001720| 68 61 74 20 69 73 20 6e | 6f 74 0a 6c 65 73 73 20 |hat is n|ot.less |
|00001730| 74 68 61 6e 20 74 68 65 | 20 73 69 7a 65 20 6f 66 |than the| size of|
|00001740| 20 74 68 65 20 64 61 74 | 61 20 61 72 65 61 2e 20 | the dat|a area. |
|00001750| 46 6f 72 20 61 72 65 61 | 20 33 33 33 2c 20 74 68 |For area| 333, th|
|00001760| 61 74 20 69 73 20 36 34 | 2e 20 54 6f 20 70 6f 69 |at is 64|. To poi|
|00001770| 6e 74 20 74 6f 0a 6c 6f | 63 61 74 69 6f 6e 20 6e |nt to.lo|cation n|
|00001780| 20 28 63 6f 75 6e 74 69 | 6e 67 20 66 72 6f 6d 20 | (counti|ng from |
|00001790| 7a 65 72 6f 29 20 79 6f | 75 20 68 61 76 65 20 74 |zero) yo|u have t|
|000017a0| 6f 20 75 73 65 20 61 20 | 6e 75 6d 62 65 72 20 74 |o use a |number t|
|000017b0| 68 61 74 27 73 20 6e 2f | 36 34 2c 20 0a 65 2e 67 |hat's n/|64, .e.g|
|000017c0| 2e 20 6c 6f 63 61 74 69 | 6f 6e 20 31 36 20 69 73 |. locati|on 16 is|
|000017d0| 20 74 68 65 20 6e 75 6d | 62 65 72 20 2c 32 35 20 | the num|ber ,25 |
|000017e0| 54 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 73 74 |The foll|owing st|
|000017f0| 61 74 65 6d 65 6e 74 20 | 6d 61 6b 65 73 20 74 68 |atement |makes th|
|00001800| 65 0a 70 6f 69 6e 74 65 | 72 20 70 6f 69 6e 74 20 |e.pointe|r point |
|00001810| 74 6f 20 74 68 65 20 64 | 65 73 69 72 65 64 20 6c |to the d|esired l|
|00001820| 6f 63 61 74 69 6f 6e 2e | 0a 0a 2f 30 20 2d 29 20 |ocation.|../0 -) |
|00001830| 33 33 33 20 2c 32 35 20 | 0a 0a 54 68 65 20 73 65 |333 ,25 |..The se|
|00001840| 63 6f 6e 64 20 6f 70 65 | 72 61 6e 64 20 6d 61 79 |cond ope|rand may|
|00001850| 20 61 6c 73 6f 20 62 65 | 20 61 20 72 65 67 69 73 | also be| a regis|
|00001860| 74 65 72 20 6f 72 20 61 | 20 64 61 74 61 20 70 6f |ter or a| data po|
|00001870| 69 6e 74 65 72 2e 0a 0a | 33 20 50 52 4f 47 52 41 |inter...|3 PROGRA|
|00001880| 4d 20 50 4f 49 4e 54 45 | 52 53 0a 0a 41 20 70 72 |M POINTE|RS..A pr|
|00001890| 6f 67 72 61 6d 20 70 6f | 69 6e 74 65 72 20 70 6f |ogram po|inter po|
|000018a0| 69 6e 74 73 20 74 6f 20 | 61 20 6c 6f 63 61 74 69 |ints to |a locati|
|000018b0| 6f 6e 20 69 6e 20 74 68 | 65 20 70 72 6f 67 72 61 |on in th|e progra|
|000018c0| 6d 2e 20 50 72 6f 67 72 | 61 6d 20 70 6f 69 6e 74 |m. Progr|am point|
|000018d0| 65 72 73 20 61 72 65 20 | 0a 64 65 6e 6f 74 65 64 |ers are |.denoted|
|000018e0| 20 62 79 20 61 20 63 6f | 6c 6f 6e 20 28 3a 29 20 | by a co|lon (:) |
|000018f0| 66 6f 6c 6c 6f 77 65 64 | 20 62 79 20 61 20 64 69 |followed| by a di|
|00001900| 67 69 74 2e 20 50 72 6f | 67 72 61 6d 20 70 6f 69 |git. Pro|gram poi|
|00001910| 6e 74 65 72 73 20 63 61 | 6e 6e 6f 74 0a 62 65 20 |nters ca|nnot.be |
|00001920| 75 73 65 64 20 61 73 20 | 6f 72 64 69 6e 61 72 79 |used as |ordinary|
|00001930| 20 6f 70 65 72 61 6e 64 | 73 20 69 6e 20 61 73 73 | operand|s in ass|
|00001940| 69 67 6e 6d 65 6e 74 20 | 73 74 61 74 65 6d 65 6e |ignment |statemen|
|00001950| 74 73 20 61 6e 64 20 73 | 75 63 68 2e 20 0a 20 20 |ts and s|uch. . |
|00001960| 20 20 20 20 0a 59 6f 75 | 20 63 61 6e 20 64 65 63 | .You| can dec|
|00001970| 6c 61 72 65 20 6c 61 62 | 65 6c 73 20 69 6e 20 79 |lare lab|els in y|
|00001980| 6f 75 72 20 70 72 6f 67 | 72 61 6d 20 61 6e 64 20 |our prog|ram and |
|00001990| 79 6f 75 20 63 61 6e 20 | 6d 61 6b 65 20 70 72 6f |you can |make pro|
|000019a0| 67 72 61 6d 20 70 6f 69 | 6e 74 65 72 73 0a 70 6f |gram poi|nters.po|
|000019b0| 69 6e 74 20 74 6f 20 74 | 68 65 6d 2e 20 54 68 65 |int to t|hem. The|
|000019c0| 6e 20 79 6f 75 20 63 61 | 6e 20 6a 75 6d 70 20 74 |n you ca|n jump t|
|000019d0| 6f 20 74 68 6f 73 65 20 | 70 6f 69 6e 74 65 72 73 |o those |pointers|
|000019e0| 2e 0a 0a 54 68 65 20 73 | 74 61 74 65 6d 65 6e 74 |...The s|tatement|
|000019f0| 0a 0a 34 34 30 30 3a 20 | 0a 0a 64 65 63 6c 61 72 |..4400: |..declar|
|00001a00| 65 73 20 61 20 70 72 6f | 67 72 61 6d 20 6c 61 62 |es a pro|gram lab|
|00001a10| 65 6c 20 34 34 30 30 3a | 0a 0a 3a 32 20 2d 29 20 |el 4400:|..:2 -) |
|00001a20| 34 34 30 30 0a 0a 6d 61 | 6b 65 73 20 70 72 6f 67 |4400..ma|kes prog|
|00001a30| 72 61 6d 20 70 6f 69 6e | 74 65 72 20 32 20 70 6f |ram poin|ter 2 po|
|00001a40| 69 6e 74 20 74 6f 20 6c | 61 62 65 6c 20 34 34 30 |int to l|abel 440|
|00001a50| 30 2e 0a 0a 2d 29 20 3a | 32 0a 0a 6a 75 6d 70 73 |0...-) :|2..jumps|
|00001a60| 20 74 6f 20 70 72 6f 67 | 72 61 6d 20 70 6f 69 6e | to prog|ram poin|
|00001a70| 74 65 72 20 32 2c 20 69 | 6e 20 74 68 69 73 20 63 |ter 2, i|n this c|
|00001a80| 61 73 65 20 69 74 27 73 | 20 74 68 65 20 6c 61 62 |ase it's| the lab|
|00001a90| 65 6c 20 34 34 30 30 2e | 0a 0a 50 72 6f 67 72 61 |el 4400.|..Progra|
|00001aa0| 6d 20 70 6f 69 6e 74 65 | 72 20 30 20 69 73 20 74 |m pointe|r 0 is t|
|00001ab0| 68 65 20 64 65 66 61 75 | 6c 74 20 73 75 62 72 6f |he defau|lt subro|
|00001ac0| 75 74 69 6e 65 20 72 65 | 74 75 72 6e 20 61 64 64 |utine re|turn add|
|00001ad0| 72 65 73 73 2e 20 20 0a | 4c 6f 6f 6b 20 61 74 20 |ress. .|Look at |
|00001ae0| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 70 72 |the foll|owing pr|
|00001af0| 6f 67 72 61 6d 2e 0a 0a | 2e 30 20 28 2d 20 2c 33 |ogram...|.0 (- ,3|
|00001b00| 37 35 0a 3a 30 20 2d 29 | 20 36 30 30 30 0a 3a 31 |75.:0 -)| 6000.:1|
|00001b10| 20 2d 29 20 31 30 30 0a | 2d 29 20 3a 31 0a 36 30 | -) 100.|-) :1.60|
|00001b20| 30 30 3a 0a 0a 46 69 72 | 73 74 20 61 20 76 61 6c |00:..Fir|st a val|
|00001b30| 75 65 20 69 73 20 61 73 | 73 69 67 6e 65 64 20 74 |ue is as|signed t|
|00001b40| 6f 20 72 65 67 69 73 74 | 65 72 20 30 2e 20 54 68 |o regist|er 0. Th|
|00001b50| 65 6e 20 70 72 6f 67 72 | 61 6d 20 70 6f 69 6e 74 |en progr|am point|
|00001b60| 65 72 20 30 20 69 73 20 | 6d 61 64 65 0a 74 6f 20 |er 0 is |made.to |
|00001b70| 70 6f 69 6e 74 20 74 6f | 20 6c 61 62 65 6c 20 36 |point to| label 6|
|00001b80| 30 30 30 2e 20 54 68 65 | 6e 20 70 72 6f 67 72 61 |000. The|n progra|
|00001b90| 6d 20 70 6f 69 6e 74 65 | 72 20 31 20 69 73 20 6d |m pointe|r 1 is m|
|00001ba0| 61 64 65 20 74 6f 20 70 | 6f 69 6e 74 20 74 6f 20 |ade to p|oint to |
|00001bb0| 6c 61 62 65 6c 20 31 30 | 30 2e 0a 4e 65 78 74 20 |label 10|0..Next |
|00001bc0| 74 68 61 74 20 70 6f 69 | 6e 74 65 72 20 69 73 20 |that poi|nter is |
|00001bd0| 6a 75 6d 70 65 64 20 74 | 6f 2e 20 41 74 20 6c 61 |jumped t|o. At la|
|00001be0| 62 65 6c 20 31 30 30 20 | 74 68 65 72 65 20 69 73 |bel 100 |there is|
|00001bf0| 20 74 68 65 20 73 74 61 | 6e 64 61 72 64 20 73 75 | the sta|ndard su|
|00001c00| 62 72 6f 75 74 69 6e 65 | 0a 74 6f 20 70 72 69 6e |broutine|.to prin|
|00001c10| 74 20 74 68 65 20 63 6f | 6e 74 65 6e 74 73 20 6f |t the co|ntents o|
|00001c20| 66 20 72 65 67 69 73 74 | 65 72 20 30 20 74 6f 20 |f regist|er 0 to |
|00001c30| 74 68 65 20 74 65 6c 65 | 74 79 70 65 2e 20 41 66 |the tele|type. Af|
|00001c40| 74 65 72 20 74 68 61 74 | 27 73 0a 64 6f 6e 65 20 |ter that|'s.done |
|00001c50| 74 68 65 20 73 75 62 72 | 6f 75 74 69 6e 65 20 6a |the subr|outine j|
|00001c60| 75 6d 70 73 20 74 6f 20 | 70 72 6f 67 72 61 6d 20 |umps to |program |
|00001c70| 70 6f 69 6e 74 65 72 20 | 30 2c 20 61 6e 64 20 74 |pointer |0, and t|
|00001c80| 68 61 74 27 73 20 6c 61 | 62 65 6c 20 36 30 30 30 |hat's la|bel 6000|
|00001c90| 2e 0a 20 0a 54 68 65 72 | 65 20 69 73 20 61 6c 73 |.. .Ther|e is als|
|00001ca0| 6f 20 61 20 63 6f 6e 64 | 69 74 69 6f 6e 61 6c 20 |o a cond|itional |
|00001cb0| 6a 75 6d 70 2c 20 77 68 | 69 63 68 20 63 6f 6e 73 |jump, wh|ich cons|
|00001cc0| 69 73 74 73 20 6f 66 20 | 74 77 6f 20 6f 70 65 72 |ists of |two oper|
|00001cd0| 61 6e 64 73 20 73 65 70 | 61 72 61 74 65 64 0a 62 |ands sep|arated.b|
|00001ce0| 79 20 61 20 72 65 6c 61 | 74 69 6f 6e 61 6c 20 6f |y a rela|tional o|
|00001cf0| 70 65 72 61 74 6f 72 20 | 66 6f 6c 6c 6f 77 65 64 |perator |followed|
|00001d00| 20 62 79 20 61 6e 20 6f | 72 64 69 6e 61 72 79 20 | by an o|rdinary |
|00001d10| 6a 75 6d 70 20 73 74 61 | 74 65 6d 65 6e 74 2e 0a |jump sta|tement..|
|00001d20| 0a 2e 30 20 28 20 2c 30 | 20 2d 29 20 3a 34 0a 0a |..0 ( ,0| -) :4..|
|00001d30| 6d 65 61 6e 73 20 6a 75 | 6d 70 20 74 6f 20 70 72 |means ju|mp to pr|
|00001d40| 6f 67 72 61 6d 20 70 6f | 69 6e 74 65 72 20 34 20 |ogram po|inter 4 |
|00001d50| 69 66 20 72 65 67 69 73 | 74 65 72 20 30 20 69 73 |if regis|ter 0 is|
|00001d60| 20 6c 65 73 73 20 74 68 | 61 6e 20 7a 65 72 6f 2e | less th|an zero.|
|00001d70| 0a 0a 54 68 65 72 65 20 | 61 72 65 20 61 6c 73 6f |..There |are also|
|00001d80| 20 70 72 6f 67 72 61 6d | 20 70 6f 69 6e 74 65 72 | program| pointer|
|00001d90| 20 73 74 6f 72 61 67 65 | 20 61 72 65 61 73 2e 20 | storage| areas. |
|00001da0| 59 6f 75 20 64 65 63 6c | 61 72 65 20 74 68 65 6d |You decl|are them|
|00001db0| 20 61 73 0a 64 61 74 61 | 20 73 74 6f 72 61 67 65 | as.data| storage|
|00001dc0| 20 61 72 65 61 73 20 62 | 75 74 20 77 69 74 68 20 | areas b|ut with |
|00001dd0| 2f 3a 20 69 6e 73 74 65 | 61 64 20 6f 66 20 2f 0a |/: inste|ad of /.|
|00001de0| 0a 36 36 36 2f 3a 20 33 | 32 0a 0a 72 65 73 65 72 |.666/: 3|2..reser|
|00001df0| 76 65 73 20 61 20 70 72 | 6f 67 72 61 6d 20 70 6f |ves a pr|ogram po|
|00001e00| 69 6e 74 65 72 20 73 74 | 6f 72 61 67 65 20 61 72 |inter st|orage ar|
|00001e10| 65 61 20 66 6f 72 20 33 | 32 20 70 6f 69 6e 74 65 |ea for 3|2 pointe|
|00001e20| 72 73 2e 20 0a 59 6f 75 | 20 63 61 6e 20 73 65 74 |rs. .You| can set|
|00001e30| 20 61 20 64 61 74 61 20 | 70 6f 69 6e 74 65 72 20 | a data |pointer |
|00001e40| 74 6f 20 74 68 69 73 20 | 61 72 65 61 2e 20 49 66 |to this |area. If|
|00001e50| 20 79 6f 75 20 64 6f 20 | 74 68 69 73 20 69 74 20 | you do |this it |
|00001e60| 69 73 20 69 6c 6c 65 67 | 61 6c 0a 74 6f 20 75 73 |is illeg|al.to us|
|00001e70| 65 20 74 68 61 74 20 64 | 61 74 61 20 70 6f 69 6e |e that d|ata poin|
|00001e80| 74 65 72 20 66 6f 72 20 | 64 61 74 61 2c 20 62 75 |ter for |data, bu|
|00001e90| 74 20 6e 6f 77 20 69 74 | 20 69 73 20 6c 65 67 61 |t now it| is lega|
|00001ea0| 6c 20 74 6f 20 61 73 73 | 69 67 6e 0a 70 72 6f 67 |l to ass|ign.prog|
|00001eb0| 72 61 6d 20 70 6f 69 6e | 74 65 72 73 20 74 6f 20 |ram poin|ters to |
|00001ec0| 74 68 65 20 64 61 74 61 | 20 70 6f 69 6e 74 65 72 |the data| pointer|
|00001ed0| 20 61 6e 64 20 62 61 63 | 6b 2e 0a 0a 3a 33 20 2d | and bac|k...:3 -|
|00001ee0| 29 20 37 37 37 37 0a 2f | 34 20 28 2d 20 3a 33 0a |) 7777./|4 (- :3.|
|00001ef0| 0a 73 74 6f 72 65 73 20 | 74 68 65 20 6c 61 62 65 |.stores |the labe|
|00001f00| 6c 20 37 37 37 37 20 28 | 74 68 72 6f 75 67 68 20 |l 7777 (|through |
|00001f10| 70 72 6f 67 72 61 6d 20 | 70 6f 69 6e 74 65 72 20 |program |pointer |
|00001f20| 33 29 20 69 6e 74 6f 20 | 74 68 65 20 6c 6f 63 61 |3) into |the loca|
|00001f30| 74 69 6f 6e 20 74 68 65 | 0a 64 61 74 61 20 70 6f |tion the|.data po|
|00001f40| 69 6e 74 65 72 20 34 20 | 70 6f 69 6e 74 73 20 74 |inter 4 |points t|
|00001f50| 6f 2e 0a 0a 3a 35 20 28 | 2d 20 2f 34 0a 0a 73 65 |o...:5 (|- /4..se|
|00001f60| 74 73 20 70 72 6f 67 72 | 61 6d 20 70 6f 69 6e 74 |ts progr|am point|
|00001f70| 65 72 20 35 20 74 6f 20 | 74 68 65 20 63 6f 6e 74 |er 5 to |the cont|
|00001f80| 65 6e 74 73 20 6f 66 20 | 74 68 65 20 6d 65 6d 6f |ents of |the memo|
|00001f90| 72 79 20 6c 6f 63 61 74 | 69 6f 6e 20 74 68 65 0a |ry locat|ion the.|
|00001fa0| 64 61 74 61 20 70 6f 69 | 6e 74 65 72 20 70 6f 69 |data poi|nter poi|
|00001fb0| 6e 74 73 20 74 6f 2c 20 | 69 6e 20 74 68 69 73 20 |nts to, |in this |
|00001fc0| 63 61 73 65 20 6c 61 62 | 65 6c 20 37 37 37 37 0a |case lab|el 7777.|
|00001fd0| 0a 34 20 43 4f 4e 53 54 | 41 4e 54 53 0a 0a 43 6f |.4 CONST|ANTS..Co|
|00001fe0| 6e 73 74 61 6e 74 73 20 | 61 72 65 20 6a 75 73 74 |nstants |are just|
|00001ff0| 20 63 6f 6e 73 74 61 6e | 74 73 2e 20 54 68 65 73 | constan|ts. Thes|
|00002000| 65 20 61 72 65 20 71 75 | 61 6e 74 69 74 69 65 73 |e are qu|antities|
|00002010| 20 74 68 61 74 20 61 72 | 65 20 68 61 72 64 20 74 | that ar|e hard t|
|00002020| 6f 0a 74 79 70 65 20 6f | 74 68 65 72 77 69 73 65 |o.type o|therwise|
|00002030| 2e 20 41 20 63 6f 6e 73 | 74 61 6e 74 20 69 73 20 |. A cons|tant is |
|00002040| 64 65 6e 6f 74 65 64 20 | 62 79 20 61 20 71 75 6f |denoted |by a quo|
|00002050| 74 65 28 22 29 20 66 6f | 6c 6c 6f 77 65 64 20 62 |te(") fo|llowed b|
|00002060| 79 20 61 20 64 69 67 69 | 74 2e 0a 54 68 65 79 20 |y a digi|t..They |
|00002070| 6d 61 79 20 62 65 20 75 | 73 65 64 20 61 73 20 6f |may be u|sed as o|
|00002080| 72 64 69 6e 61 72 79 20 | 61 72 69 74 68 6d 65 74 |rdinary |arithmet|
|00002090| 69 63 20 6f 70 65 72 61 | 6e 64 73 2c 20 62 75 74 |ic opera|nds, but|
|000020a0| 20 6e 6f 74 20 6f 6e 20 | 74 68 65 0a 6c 65 66 74 | not on |the.left|
|000020b0| 20 68 61 6e 64 20 73 69 | 64 65 20 6f 66 20 61 6e | hand si|de of an|
|000020c0| 20 61 73 73 69 67 6e 6d | 65 6e 74 2e 0a 0a 22 30 | assignm|ent..."0|
|000020d0| 20 69 73 20 74 68 65 20 | 6d 69 6e 69 6d 75 6d 20 | is the |minimum |
|000020e0| 6e 75 6d 62 65 72 20 28 | 20 2d 2c 39 39 39 39 39 |number (| -,99999|
|000020f0| 39 39 39 39 39 39 39 39 | 39 39 39 29 0a 22 31 20 |99999999|999)."1 |
|00002100| 69 73 20 74 68 65 20 73 | 6d 61 6c 6c 65 73 74 20 |is the s|mallest |
|00002110| 64 69 73 74 61 6e 63 65 | 20 62 65 74 77 65 65 6e |distance| between|
|00002120| 20 74 77 6f 20 6e 75 6d | 62 65 72 73 20 28 20 32 | two num|bers ( 2|
|00002130| 5e 2d 31 34 29 0a 22 32 | 20 69 73 20 74 68 65 20 |^-14)."2| is the |
|00002140| 73 70 65 63 69 61 6c 20 | 6f 76 65 72 66 6c 6f 77 |special |overflow|
|00002150| 20 76 61 6c 75 65 2e 0a | 22 33 20 69 73 20 31 2f | value..|"3 is 1/|
|00002160| 70 69 0a 22 34 20 69 73 | 20 6c 6e 20 32 0a 22 35 |pi."4 is| ln 2."5|
|00002170| 20 69 73 20 31 2f 33 32 | 20 0a 22 36 20 69 73 20 | is 1/32| ."6 is |
|00002180| 31 2f 73 71 72 74 28 32 | 29 0a 22 37 20 69 73 20 |1/sqrt(2|)."7 is |
|00002190| 73 71 72 74 28 33 29 2f | 32 20 0a 22 38 20 69 73 |sqrt(3)/|2 ."8 is|
|000021a0| 20 6c 6f 67 20 32 20 28 | 62 61 73 65 20 31 30 29 | log 2 (|base 10)|
|000021b0| 0a 22 39 20 69 73 20 74 | 68 65 20 6d 61 78 69 6d |."9 is t|he maxim|
|000021c0| 75 6d 20 6e 75 6d 62 65 | 72 20 28 20 20 2c 39 39 |um numbe|r ( ,99|
|000021d0| 39 39 39 39 39 39 39 39 | 39 39 39 39 39 39 29 0a |99999999|999999).|
|000021e0| 0a 35 20 43 48 41 4e 4e | 45 4c 53 0a 0a 43 68 61 |.5 CHANN|ELS..Cha|
|000021f0| 6e 6e 65 6c 73 20 61 72 | 65 20 74 68 65 20 69 6e |nnels ar|e the in|
|00002200| 70 75 74 2f 6f 75 74 70 | 75 74 20 64 65 76 69 63 |put/outp|ut devic|
|00002210| 65 73 20 6f 66 20 74 68 | 65 20 63 6f 6d 70 75 74 |es of th|e comput|
|00002220| 65 72 2e 20 43 68 61 6e | 6e 65 6c 73 20 61 72 65 |er. Chan|nels are|
|00002230| 0a 64 65 6e 6f 74 65 64 | 20 62 79 20 73 75 72 72 |.denoted| by surr|
|00002240| 6f 75 6e 64 69 6e 67 20 | 61 20 64 69 67 69 74 20 |ounding |a digit |
|00002250| 77 69 74 68 20 70 61 72 | 65 6e 74 68 65 73 65 73 |with par|entheses|
|00002260| 2e 20 43 68 61 6e 6e 65 | 6c 73 20 6d 61 79 20 62 |. Channe|ls may b|
|00002270| 65 20 75 73 65 64 20 61 | 73 0a 6f 70 65 72 61 6e |e used a|s.operan|
|00002280| 64 73 20 69 6e 20 61 72 | 69 74 68 6d 65 74 69 63 |ds in ar|ithmetic|
|00002290| 20 65 78 70 72 65 73 73 | 69 6f 6e 73 20 61 6e 64 | express|ions and|
|000022a0| 20 63 6f 6e 64 69 74 69 | 6f 6e 61 6c 20 6a 75 6d | conditi|onal jum|
|000022b0| 70 20 73 74 61 74 65 6d | 65 6e 74 73 2e 20 49 6e |p statem|ents. In|
|000022c0| 0a 74 68 69 73 20 63 61 | 73 65 20 74 68 65 20 63 |.this ca|se the c|
|000022d0| 68 61 6e 6e 65 6c 20 69 | 73 20 72 65 61 64 2e 20 |hannel i|s read. |
|000022e0| 54 68 65 79 20 6d 61 79 | 20 61 6c 73 6f 20 62 65 |They may| also be|
|000022f0| 20 75 73 65 64 20 61 73 | 20 74 68 65 20 6c 65 66 | used as| the lef|
|00002300| 74 20 68 61 6e 64 20 73 | 69 64 65 0a 6f 66 20 61 |t hand s|ide.of a|
|00002310| 6e 20 61 73 73 69 67 6e | 6d 65 6e 74 20 65 78 70 |n assign|ment exp|
|00002320| 72 65 73 73 69 6f 6e 2e | 20 49 6e 20 74 68 69 73 |ression.| In this|
|00002330| 20 63 61 73 65 20 61 20 | 76 61 6c 75 65 20 69 73 | case a |value is|
|00002340| 20 77 72 69 74 74 65 6e | 20 74 6f 20 74 68 65 0a | written| to the.|
|00002350| 63 68 61 6e 6e 65 6c 2e | 0a 0a 28 30 29 20 69 73 |channel.|..(0) is|
|00002360| 20 74 68 65 20 74 65 6c | 65 74 79 70 65 20 63 68 | the tel|etype ch|
|00002370| 61 6e 6e 65 6c 2e 20 54 | 68 65 20 76 61 6c 75 65 |annel. T|he value|
|00002380| 20 73 65 6e 74 20 74 6f | 20 69 74 2f 20 72 65 63 | sent to| it/ rec|
|00002390| 65 69 76 65 64 20 66 72 | 6f 6d 20 69 74 0a 69 73 |eived fr|om it.is|
|000023a0| 20 74 68 65 20 62 69 6e | 61 72 79 20 76 61 6c 75 | the bin|ary valu|
|000023b0| 65 20 6f 66 20 74 68 65 | 20 42 61 75 64 6f 74 20 |e of the| Baudot |
|000023c0| 63 6f 64 65 20 64 69 76 | 69 64 65 64 20 62 79 20 |code div|ided by |
|000023d0| 33 32 2e 20 49 66 20 74 | 68 65 20 63 68 61 6e 6e |32. If t|he chann|
|000023e0| 65 6c 20 69 73 20 72 65 | 61 64 0a 61 6e 64 20 6e |el is re|ad.and n|
|000023f0| 6f 20 63 68 61 72 61 63 | 74 65 72 20 69 73 20 61 |o charac|ter is a|
|00002400| 76 61 69 6c 61 62 6c 65 | 2c 20 61 20 6e 65 67 61 |vailable|, a nega|
|00002410| 74 69 76 65 20 76 61 6c | 75 65 20 69 73 20 72 65 |tive val|ue is re|
|00002420| 74 75 72 6e 65 64 2e 0a | 0a 28 31 29 20 69 73 20 |turned..|.(1) is |
|00002430| 74 68 65 20 70 61 70 65 | 72 20 74 61 70 65 20 63 |the pape|r tape c|
|00002440| 68 61 6e 6e 65 6c 2e 20 | 53 61 6d 65 20 72 65 6d |hannel. |Same rem|
|00002450| 61 72 6b 73 20 61 73 20 | 66 6f 72 20 28 30 29 2e |arks as |for (0).|
|00002460| 20 0a 0a 28 32 29 20 69 | 73 20 74 68 65 20 72 65 | ..(2) i|s the re|
|00002470| 61 6c 20 74 69 6d 65 20 | 63 6c 6f 63 6b 2e 20 49 |al time |clock. I|
|00002480| 74 20 63 61 6e 20 6f 6e | 6c 79 20 62 65 20 72 65 |t can on|ly be re|
|00002490| 61 64 2e 20 52 75 6e 73 | 20 66 72 6f 6d 20 22 30 |ad. Runs| from "0|
|000024a0| 20 74 6f 20 22 39 20 69 | 6e 0a 6f 6e 65 20 68 6f | to "9 i|n.one ho|
|000024b0| 75 72 2c 20 74 68 65 6e | 20 72 65 74 75 72 6e 73 |ur, then| returns|
|000024c0| 20 74 6f 20 22 30 20 61 | 67 61 69 6e 2e 0a 0a 28 | to "0 a|gain...(|
|000024d0| 33 29 20 77 61 73 20 74 | 68 65 20 72 61 6e 64 6f |3) was t|he rando|
|000024e0| 6d 20 6e 75 6d 62 65 72 | 20 67 65 6e 65 72 61 74 |m number| generat|
|000024f0| 6f 72 2e 20 49 74 20 63 | 6f 75 6c 64 20 6f 6e 6c |or. It c|ould onl|
|00002500| 79 20 62 65 20 72 65 61 | 64 2e 20 54 68 69 73 20 |y be rea|d. This |
|00002510| 77 61 73 0a 69 6d 70 6c | 65 6d 65 6e 74 65 64 20 |was.impl|emented |
|00002520| 75 73 69 6e 67 20 67 65 | 72 6d 61 6e 69 75 6d 20 |using ge|rmanium |
|00002530| 6e 6f 69 73 65 20 64 69 | 6f 64 65 73 20 61 6e 64 |noise di|odes and|
|00002540| 20 69 74 20 77 61 73 20 | 76 65 72 79 20 75 6e 72 | it was |very unr|
|00002550| 65 6c 69 61 62 6c 65 2e | 0a 49 66 20 69 74 20 72 |eliable.|.If it r|
|00002560| 61 6e 20 68 6f 74 2c 20 | 69 74 20 72 65 74 75 72 |an hot, |it retur|
|00002570| 6e 65 64 20 61 6c 6c 20 | 31 20 62 69 74 73 20 28 |ned all |1 bits (|
|00002580| 6f 76 65 72 66 6c 6f 77 | 20 76 61 6c 75 65 29 20 |overflow| value) |
|00002590| 61 6c 6d 6f 73 74 20 61 | 6c 6c 20 74 68 65 20 74 |almost a|ll the t|
|000025a0| 69 6d 65 2e 0a 49 74 73 | 20 75 73 65 20 77 61 73 |ime..Its| use was|
|000025b0| 20 68 69 67 68 6c 79 20 | 64 69 73 63 6f 75 72 61 | highly |discoura|
|000025c0| 67 65 64 2e 0a 0a 28 34 | 29 20 74 6f 20 28 37 29 |ged...(4|) to (7)|
|000025d0| 20 61 72 65 20 63 6f 6e | 6e 65 63 74 65 64 20 74 | are con|nected t|
|000025e0| 6f 20 72 61 64 61 72 2c | 20 74 6f 72 70 65 64 6f |o radar,| torpedo|
|000025f0| 65 73 20 6f 72 20 77 68 | 61 74 65 76 65 72 20 73 |es or wh|atever s|
|00002600| 74 75 66 66 20 74 68 65 | 0a 63 6f 6d 70 75 74 65 |tuff the|.compute|
|00002610| 72 20 69 73 20 73 75 70 | 70 6f 73 65 64 20 74 6f |r is sup|posed to|
|00002620| 20 63 6f 6e 74 72 6f 6c | 2e 0a 0a 0a 54 68 65 20 | control|....The |
|00002630| 73 74 61 74 65 6d 65 6e | 74 20 0a 28 30 29 20 28 |statemen|t .(0) (|
|00002640| 2d 20 2c 30 33 31 32 35 | 0a 0a 73 65 6e 64 73 20 |- ,03125|..sends |
|00002650| 42 61 75 64 6f 74 20 63 | 6f 64 65 20 31 20 74 6f |Baudot c|ode 1 to|
|00002660| 20 74 68 65 20 74 65 6c | 65 74 79 70 65 2e 0a 0a | the tel|etype...|
|00002670| 50 52 4f 47 52 41 4d 20 | 41 4e 44 20 44 41 54 41 |PROGRAM |AND DATA|
|00002680| 20 4c 41 42 45 4c 53 0a | 0a 44 61 74 61 20 61 72 | LABELS.|.Data ar|
|00002690| 65 61 73 20 61 6e 64 20 | 70 72 6f 67 72 61 6d 20 |eas and |program |
|000026a0| 70 6f 69 6e 74 65 72 20 | 73 74 6f 72 61 67 65 20 |pointer |storage |
|000026b0| 61 72 65 61 73 20 61 72 | 65 20 64 65 6e 6f 74 65 |areas ar|e denote|
|000026c0| 64 20 62 79 20 6e 75 6d | 65 72 69 63 0a 6c 61 62 |d by num|eric.lab|
|000026d0| 65 6c 73 20 69 6e 20 74 | 68 65 20 72 61 6e 67 65 |els in t|he range|
|000026e0| 20 30 2d 2d 33 32 37 36 | 37 2e 20 54 68 65 20 6c | 0--3276|7. The l|
|000026f0| 61 62 65 6c 73 20 61 62 | 6f 76 65 20 33 30 30 30 |abels ab|ove 3000|
|00002700| 30 20 61 72 65 20 72 65 | 73 65 72 76 65 64 20 66 |0 are re|served f|
|00002710| 6f 72 0a 69 6e 74 65 72 | 6e 61 6c 20 75 73 65 20 |or.inter|nal use |
|00002720| 6f 6e 6c 79 20 61 6e 64 | 20 6d 61 79 20 6e 6f 74 |only and| may not|
|00002730| 20 62 65 20 75 73 65 64 | 2e 20 41 20 70 72 6f 67 | be used|. A prog|
|00002740| 72 61 6d 20 70 6f 69 6e | 74 65 72 0a 73 74 6f 72 |ram poin|ter.stor|
|00002750| 61 67 65 20 61 72 65 61 | 20 61 6e 64 20 61 20 64 |age area| and a d|
|00002760| 61 74 61 20 61 72 65 61 | 20 6d 61 79 20 6e 6f 74 |ata area| may not|
|00002770| 20 68 61 76 65 20 74 68 | 65 20 73 61 6d 65 20 6c | have th|e same l|
|00002780| 61 62 65 6c 2e 0a 0a 50 | 72 6f 67 72 61 6d 20 6c |abel...P|rogram l|
|00002790| 61 62 65 6c 73 20 61 72 | 65 20 6e 75 6d 62 65 72 |abels ar|e number|
|000027a0| 73 20 69 6e 20 74 68 65 | 20 72 61 6e 67 65 20 30 |s in the| range 0|
|000027b0| 2d 2d 33 32 37 36 37 2e | 20 4e 75 6d 62 65 72 73 |--32767.| Numbers|
|000027c0| 20 62 65 6c 6f 77 20 31 | 30 30 30 0a 61 72 65 20 | below 1|000.are |
|000027d0| 72 65 73 65 72 76 65 64 | 20 66 6f 72 20 73 74 61 |reserved| for sta|
|000027e0| 6e 64 61 72 64 20 73 75 | 62 72 6f 75 74 69 6e 65 |ndard su|broutine|
|000027f0| 73 2e 20 4e 75 6d 62 65 | 72 73 20 61 62 6f 76 65 |s. Numbe|rs above|
|00002800| 20 33 30 30 30 30 20 61 | 72 65 0a 72 65 73 65 72 | 30000 a|re.reser|
|00002810| 76 65 64 20 66 6f 72 20 | 69 6e 74 65 72 6e 61 6c |ved for |internal|
|00002820| 20 75 73 65 20 6f 6e 6c | 79 20 61 6e 64 20 6d 61 | use onl|y and ma|
|00002830| 79 20 6e 6f 74 20 62 65 | 20 75 73 65 64 2e 0a 0a |y not be| used...|
|00002840| 4e 6f 74 65 20 74 68 61 | 74 20 6b 76 69 6b 6b 61 |Note tha|t kvikka|
|00002850| 6c 6b 75 6c 20 64 6f 65 | 73 20 6e 6f 74 20 68 61 |lkul doe|s not ha|
|00002860| 76 65 20 69 6e 74 65 67 | 65 72 73 20 6f 72 20 73 |ve integ|ers or s|
|00002870| 63 61 6c 65 64 20 66 72 | 61 63 74 69 6f 6e 73 2e |caled fr|actions.|
|00002880| 20 42 75 74 0a 73 6f 6d | 65 20 6f 66 20 74 68 65 | But.som|e of the|
|00002890| 20 6c 69 62 72 61 72 79 | 20 72 6f 75 74 69 6e 65 | library| routine|
|000028a0| 73 20 74 72 65 61 74 20 | 74 68 65 69 72 20 61 72 |s treat |their ar|
|000028b0| 67 75 6d 65 6e 74 73 20 | 61 73 20 69 66 20 74 68 |guments |as if th|
|000028c0| 65 79 20 77 65 72 65 20 | 0a 73 63 61 6c 65 64 20 |ey were |.scaled |
|000028d0| 66 72 61 63 74 69 6f 6e | 73 20 69 6e 20 74 68 65 |fraction|s in the|
|000028e0| 20 72 61 6e 67 65 20 28 | 2d 32 35 36 2c 32 35 36 | range (|-256,256|
|000028f0| 29 20 6f 72 20 69 6e 74 | 65 67 65 72 73 20 69 6e |) or int|egers in|
|00002900| 20 74 68 65 0a 72 61 6e | 67 65 20 28 31 36 33 38 | the.ran|ge (1638|
|00002910| 33 2c 31 36 33 38 33 29 | 2e 0a 0a 53 6f 6d 65 20 |3,16383)|...Some |
|00002920| 6f 66 20 74 68 65 20 6c | 69 62 72 61 72 79 20 72 |of the l|ibrary r|
|00002930| 6f 75 74 69 6e 65 73 20 | 49 20 73 74 69 6c 6c 20 |outines |I still |
|00002940| 72 65 6d 65 6d 62 65 72 | 20 61 72 65 2e 0a 0a 31 |remember| are...1|
|00002950| 31 20 4d 75 6c 74 69 70 | 6c 79 20 69 6e 74 65 67 |1 Multip|ly integ|
|00002960| 65 72 73 20 2e 30 20 69 | 73 20 2e 30 20 74 69 6d |ers .0 i|s .0 tim|
|00002970| 65 73 20 2e 31 0a 31 32 | 20 44 69 76 69 64 65 20 |es .1.12| Divide |
|00002980| 69 6e 74 65 67 65 72 73 | 2e 20 2e 30 20 69 73 20 |integers|. .0 is |
|00002990| 2e 30 20 64 69 76 20 2e | 31 0a 0a 32 31 20 63 6f |.0 div .|1..21 co|
|000029a0| 6e 76 65 72 74 20 66 72 | 61 63 74 69 6f 6e 20 74 |nvert fr|action t|
|000029b0| 6f 20 73 63 61 6c 65 64 | 20 66 72 61 63 74 69 6f |o scaled| fractio|
|000029c0| 6e 2e 0a 32 32 20 63 6f | 6e 76 65 72 74 20 66 72 |n..22 co|nvert fr|
|000029d0| 61 63 74 69 6f 6e 61 6c | 20 70 61 72 74 20 6f 66 |actional| part of|
|000029e0| 20 73 63 61 6c 65 64 20 | 66 72 61 63 74 69 6f 6e | scaled |fraction|
|000029f0| 20 74 6f 20 66 72 61 63 | 74 69 6f 6e 2e 20 0a 0a | to frac|tion. ..|
|00002a00| 33 31 20 4d 75 6c 74 69 | 70 6c 79 20 73 63 61 6c |31 Multi|ply scal|
|00002a10| 65 64 20 66 72 61 63 74 | 69 6f 6e 73 2e 20 0a 33 |ed fract|ions. .3|
|00002a20| 32 20 44 69 76 69 64 65 | 20 73 63 61 6c 65 64 20 |2 Divide| scaled |
|00002a30| 66 72 61 63 74 69 6f 6e | 73 2e 20 0a 0a 34 38 20 |fraction|s. ..48 |
|00002a40| 57 61 69 74 20 75 6e 74 | 69 6c 20 63 68 61 72 61 |Wait unt|il chara|
|00002a50| 63 74 65 72 20 72 65 61 | 64 79 20 6f 6e 20 74 65 |cter rea|dy on te|
|00002a60| 6c 65 74 79 70 65 2c 20 | 72 65 61 64 20 74 6f 20 |letype, |read to |
|00002a70| 2e 30 0a 34 39 20 73 61 | 6d 65 20 66 6f 72 20 70 |.0.49 sa|me for p|
|00002a80| 61 70 65 72 20 74 61 70 | 65 2e 0a 0a 31 30 30 20 |aper tap|e...100 |
|00002a90| 57 72 69 74 65 73 20 74 | 68 65 20 63 6f 6e 74 65 |Writes t|he conte|
|00002aa0| 6e 74 73 20 6f 66 20 2e | 30 20 74 6f 20 74 68 65 |nts of .|0 to the|
|00002ab0| 20 74 65 6c 65 74 79 70 | 65 20 69 6e 20 64 65 63 | teletyp|e in dec|
|00002ac0| 69 6d 61 6c 20 66 72 61 | 63 74 69 6f 6e 20 66 6f |imal fra|ction fo|
|00002ad0| 72 6d 61 74 2e 0a 31 30 | 31 20 73 61 6d 65 20 66 |rmat..10|1 same f|
|00002ae0| 6f 72 20 70 61 70 65 72 | 20 74 61 70 65 2e 0a 31 |or paper| tape..1|
|00002af0| 35 30 20 52 65 61 64 73 | 20 61 20 64 65 63 69 6d |50 Reads| a decim|
|00002b00| 61 6c 20 66 72 61 63 74 | 69 6f 6e 61 6c 20 6e 75 |al fract|ional nu|
|00002b10| 6d 62 65 72 20 66 72 6f | 6d 20 74 68 65 20 74 65 |mber fro|m the te|
|00002b20| 6c 65 74 79 70 65 20 74 | 6f 20 2e 30 20 0a 31 35 |letype t|o .0 .15|
|00002b30| 31 20 73 61 6d 65 20 66 | 6f 72 20 70 61 70 65 72 |1 same f|or paper|
|00002b40| 20 74 61 70 65 2e 0a 32 | 30 30 20 73 65 6e 64 20 | tape..2|00 send |
|00002b50| 43 52 4c 46 20 74 6f 20 | 74 65 6c 65 74 79 70 65 |CRLF to |teletype|
|00002b60| 0a 32 30 31 20 73 61 6d | 65 20 66 6f 72 20 70 61 |.201 sam|e for pa|
|00002b70| 70 65 72 20 74 61 70 65 | 0a 32 35 30 20 77 61 69 |per tape|.250 wai|
|00002b80| 74 20 75 6e 74 69 6c 20 | 43 52 4c 46 20 72 65 63 |t until |CRLF rec|
|00002b90| 65 69 76 65 64 20 66 72 | 6f 6d 20 74 65 6c 65 74 |eived fr|om telet|
|00002ba0| 79 70 65 0a 32 35 31 20 | 73 61 6d 65 20 66 6f 72 |ype.251 |same for|
|00002bb0| 20 70 61 70 65 72 20 74 | 61 70 65 2e 0a 0a 33 30 | paper t|ape...30|
|00002bc0| 30 2f 33 30 31 20 33 35 | 30 2f 33 35 31 20 4e 75 |0/301 35|0/351 Nu|
|00002bd0| 6d 62 65 72 20 72 65 61 | 64 2f 77 72 69 74 65 20 |mber rea|d/write |
|00002be0| 72 6f 75 74 69 6e 65 73 | 20 66 6f 72 20 69 6e 74 |routines| for int|
|00002bf0| 65 67 65 72 73 20 69 6e | 20 74 68 65 20 72 61 6e |egers in| the ran|
|00002c00| 67 65 0a 2d 31 36 33 38 | 33 20 2e 2e 20 31 36 33 |ge.-1638|3 .. 163|
|00002c10| 38 33 2e 20 0a 0a 33 30 | 32 2f 33 30 33 20 33 35 |83. ..30|2/303 35|
|00002c20| 32 2f 33 35 33 20 53 61 | 6d 65 20 66 6f 72 20 53 |2/353 Sa|me for S|
|00002c30| 63 61 6c 65 64 20 66 72 | 61 63 74 69 6f 6e 73 20 |caled fr|actions |
|00002c40| 28 2d 32 35 36 2c 32 35 | 36 29 0a 0a 34 30 30 20 |(-256,25|6)..400 |
|00002c50| 73 71 75 61 72 65 20 72 | 6f 6f 74 2e 20 28 61 72 |square r|oot. (ar|
|00002c60| 67 75 6d 65 6e 74 20 61 | 6e 64 20 72 65 73 75 6c |gument a|nd resul|
|00002c70| 74 20 69 6e 20 2e 30 29 | 0a 34 35 30 20 53 69 6e |t in .0)|.450 Sin|
|00002c80| 65 20 28 77 68 65 72 65 | 20 2d 31 2e 2e 31 20 61 |e (where| -1..1 a|
|00002c90| 73 20 61 72 67 75 6d 65 | 6e 74 20 77 61 73 20 69 |s argume|nt was i|
|00002ca0| 6e 74 65 72 70 72 65 74 | 65 64 20 61 73 20 2d 31 |nterpret|ed as -1|
|00002cb0| 38 30 2e 2e 31 38 30 20 | 64 65 67 72 65 65 73 29 |80..180 |degrees)|
|00002cc0| 0a 34 36 30 20 43 6f 73 | 69 6e 65 2e 0a 34 37 30 |.460 Cos|ine..470|
|00002cd0| 20 41 72 63 74 61 6e 20 | 28 61 72 67 75 6d 65 6e | Arctan |(argumen|
|00002ce0| 74 20 69 73 20 73 63 61 | 6c 65 64 20 66 72 61 63 |t is sca|led frac|
|00002cf0| 74 69 6f 6e 2c 20 72 65 | 73 75 6c 74 20 69 73 20 |tion, re|sult is |
|00002d00| 73 63 61 6c 65 64 20 74 | 6f 20 28 2d 31 2c 2b 31 |scaled t|o (-1,+1|
|00002d10| 29 0a 34 38 30 20 4c 6f | 67 20 28 31 2b 78 29 20 |).480 Lo|g (1+x) |
|00002d20| 28 62 61 73 65 20 32 29 | 0a 34 39 30 20 32 5e 78 |(base 2)|.490 2^x|
|00002d30| 2d 31 20 0a 0a 35 33 30 | 20 52 65 61 64 20 61 20 |-1 ..530| Read a |
|00002d40| 6c 69 6e 65 20 66 72 6f | 6d 20 74 68 65 20 74 65 |line fro|m the te|
|00002d50| 6c 65 74 79 70 65 20 69 | 6e 74 6f 20 6d 65 6d 6f |letype i|nto memo|
|00002d60| 72 79 20 70 6f 69 6e 74 | 65 64 20 74 6f 20 62 79 |ry point|ed to by|
|00002d70| 20 2f 30 2c 20 6f 6e 65 | 0a 20 20 20 20 63 68 61 | /0, one|. cha|
|00002d80| 72 61 63 74 65 72 20 70 | 65 72 20 6e 75 6d 62 65 |racter p|er numbe|
|00002d90| 72 20 30 2e 2e 31 20 69 | 6e 20 73 74 65 70 73 20 |r 0..1 i|n steps |
|00002da0| 6f 66 20 2c 30 33 31 32 | 35 0a 35 33 31 20 53 61 |of ,0312|5.531 Sa|
|00002db0| 6d 65 20 66 6f 72 20 70 | 61 70 65 72 20 74 61 70 |me for p|aper tap|
|00002dc0| 65 2e 0a 35 34 30 20 57 | 72 69 74 65 20 61 20 6c |e..540 W|rite a l|
|00002dd0| 69 6e 65 20 74 6f 20 70 | 61 70 65 72 20 74 61 70 |ine to p|aper tap|
|00002de0| 65 20 66 72 6f 6d 20 6d | 65 6d 6f 72 79 20 70 6f |e from m|emory po|
|00002df0| 69 6e 74 65 64 20 74 6f | 20 62 79 20 2f 30 2c 20 |inted to| by /0, |
|00002e00| 6f 6e 65 0a 20 20 20 20 | 63 68 61 72 61 63 74 65 |one. |characte|
|00002e10| 72 20 70 65 72 20 6e 75 | 6d 62 65 72 2e 0a 35 34 |r per nu|mber..54|
|00002e20| 31 20 53 61 6d 65 20 66 | 6f 72 20 70 61 70 65 72 |1 Same f|or paper|
|00002e30| 20 74 61 70 65 2e 0a 35 | 35 30 2f 35 35 31 20 35 | tape..5|50/551 5|
|00002e40| 36 30 2f 35 36 31 20 4c | 69 6e 65 20 72 65 61 64 |60/561 L|ine read|
|00002e50| 2f 77 72 69 74 65 20 72 | 6f 75 74 69 6e 65 73 20 |/write r|outines |
|00002e60| 74 68 61 74 20 70 61 63 | 6b 65 64 20 74 68 72 65 |that pac|ked thre|
|00002e70| 65 20 63 68 61 72 61 63 | 74 65 72 73 0a 20 20 20 |e charac|ters. |
|00002e80| 20 70 65 72 20 6e 75 6d | 62 65 72 2c 20 66 69 72 | per num|ber, fir|
|00002e90| 73 74 20 77 61 73 20 35 | 20 6d 6f 73 74 20 73 69 |st was 5| most si|
|00002ea0| 67 6e 69 66 69 63 61 6e | 74 20 62 69 74 73 2e 20 |gnifican|t bits. |
|00002eb0| 54 68 65 73 65 20 77 65 | 72 65 0a 20 20 20 20 73 |These we|re. s|
|00002ec0| 74 6f 72 65 64 20 6d 6f | 72 65 20 65 66 66 69 63 |tored mo|re effic|
|00002ed0| 69 65 6e 74 6c 79 20 62 | 75 74 20 61 20 48 45 4c |iently b|ut a HEL|
|00002ee0| 4c 20 74 6f 20 70 72 6f | 63 65 73 73 2c 20 61 73 |L to pro|cess, as|
|00002ef0| 20 6e 65 67 61 74 69 76 | 65 73 2c 20 70 6f 73 69 | negativ|es, posi|
|00002f00| 74 69 76 65 73 0a 20 20 | 20 20 61 6e 64 20 65 76 |tives. | and ev|
|00002f10| 65 6e 20 6f 76 65 72 66 | 6c 6f 77 20 77 61 73 20 |en overf|low was |
|00002f20| 61 20 76 61 6c 69 64 20 | 63 68 61 72 61 63 74 65 |a valid |characte|
|00002f30| 72 20 74 72 69 70 6c 65 | 74 2e 20 20 20 20 0a 20 |r triple|t. . |
|00002f40| 20 20 20 0a 39 30 30 20 | 52 65 61 64 20 68 6f 75 | .900 |Read hou|
|00002f50| 72 20 6e 75 6d 62 65 72 | 20 74 6f 20 2e 30 20 4d |r number| to .0 M|
|00002f60| 75 73 74 20 62 65 20 63 | 61 6c 6c 65 64 20 61 74 |ust be c|alled at|
|00002f70| 20 6c 65 61 73 74 20 74 | 77 69 63 65 20 61 6e 20 | least t|wice an |
|00002f80| 68 6f 75 72 2c 20 62 65 | 63 61 75 73 65 0a 69 74 |hour, be|cause.it|
|00002f90| 20 72 65 6c 69 65 73 20 | 6f 6e 20 74 68 65 20 70 | relies |on the p|
|00002fa0| 6f 73 69 74 69 76 65 2f | 6e 65 67 61 74 69 76 65 |ositive/|negative|
|00002fb0| 20 74 72 61 6e 73 69 74 | 69 6f 6e 20 6f 66 20 28 | transit|ion of (|
|00002fc0| 32 29 20 74 6f 20 69 6e | 63 72 65 6d 65 6e 74 20 |2) to in|crement |
|00002fd0| 74 68 65 20 69 6e 74 65 | 72 6e 61 6c 0a 68 6f 75 |the inte|rnal.hou|
|00002fe0| 72 20 6e 75 6d 62 65 72 | 2e 20 0a 0a 36 36 36 20 |r number|. ..666 |
|00002ff0| 65 6d 65 72 67 65 6e 63 | 79 20 73 74 6f 70 2e 0a |emergenc|y stop..|
|00003000| 0a 38 38 38 20 44 75 6d | 70 20 69 6e 74 65 72 6e |.888 Dum|p intern|
|00003010| 61 6c 20 70 72 6f 67 72 | 61 6d 20 73 74 61 74 65 |al progr|am state|
|00003020| 20 74 6f 20 70 61 70 65 | 72 20 74 61 70 65 20 61 | to pape|r tape a|
|00003030| 6e 64 20 73 74 6f 70 2e | 20 4d 61 6e 79 20 70 72 |nd stop.| Many pr|
|00003040| 6f 67 72 61 6d 73 0a 20 | 20 20 20 6e 65 65 64 65 |ograms. | neede|
|00003050| 64 20 74 6f 20 64 6f 20 | 61 20 6c 6f 74 20 6f 66 |d to do |a lot of|
|00003060| 20 70 72 6f 63 65 73 73 | 69 6e 67 20 74 6f 20 69 | process|ing to i|
|00003070| 6e 69 74 69 61 6c 69 7a | 65 20 74 61 62 6c 65 73 |nitializ|e tables|
|00003080| 2e 20 49 66 20 74 65 78 | 74 20 73 74 72 69 6e 67 |. If tex|t string|
|00003090| 73 0a 20 20 20 20 77 65 | 72 65 20 6e 65 65 64 65 |s. we|re neede|
|000030a0| 64 2c 20 74 68 65 79 20 | 77 65 72 65 20 72 65 61 |d, they |were rea|
|000030b0| 64 20 66 72 6f 6d 20 74 | 65 6c 65 74 79 70 65 20 |d from t|eletype |
|000030c0| 61 6e 64 2f 6f 72 20 70 | 61 70 65 72 20 74 61 70 |and/or p|aper tap|
|000030d0| 65 20 61 6e 64 0a 20 20 | 20 20 6e 6f 74 20 77 72 |e and. | not wr|
|000030e0| 69 74 74 65 6e 20 69 6e | 20 74 68 65 20 70 72 6f |itten in| the pro|
|000030f0| 67 72 61 6d 20 69 74 73 | 65 6c 66 2e 20 53 6f 20 |gram its|elf. So |
|00003100| 65 61 63 68 20 6e 6f 6e | 74 72 69 76 69 61 6c 20 |each non|trivial |
|00003110| 70 72 6f 67 72 61 6d 20 | 68 61 64 20 61 6e 0a 20 |program |had an. |
|00003120| 20 20 20 69 6e 69 74 69 | 61 6c 69 7a 61 74 69 6f | initi|alizatio|
|00003130| 6e 20 70 68 61 73 65 20 | 69 6e 20 77 68 69 63 68 |n phase |in which|
|00003140| 20 69 74 20 72 65 61 64 | 20 64 61 74 61 20 61 6e | it read| data an|
|00003150| 64 20 63 6f 6d 70 75 74 | 65 64 20 6e 75 6d 62 65 |d comput|ed numbe|
|00003160| 72 73 0a 20 20 20 20 66 | 6f 72 20 74 61 62 6c 65 |rs. f|or table|
|00003170| 73 2e 20 54 68 65 6e 20 | 74 68 65 20 70 72 6f 67 |s. Then |the prog|
|00003180| 72 61 6d 20 63 61 6c 6c | 65 64 20 38 38 38 2e 20 |ram call|ed 888. |
|00003190| 54 68 65 20 72 65 73 75 | 6c 74 69 6e 67 20 64 75 |The resu|lting du|
|000031a0| 6d 70 0a 20 20 20 20 63 | 6f 75 6c 64 20 62 65 20 |mp. c|ould be |
|000031b0| 75 73 65 64 20 62 79 20 | 74 68 65 20 6b 76 69 6b |used by |the kvik|
|000031c0| 6b 61 6c 6b 75 6c 20 63 | 6f 6d 70 69 6c 65 72 20 |kalkul c|ompiler |
|000031d0| 74 6f 20 67 65 6e 65 72 | 61 74 65 20 61 20 70 72 |to gener|ate a pr|
|000031e0| 6f 67 72 61 6d 0a 20 20 | 20 20 77 69 74 68 20 61 |ogram. | with a|
|000031f0| 6c 6c 20 74 61 62 6c 65 | 73 20 61 6c 72 65 61 64 |ll table|s alread|
|00003200| 79 20 69 6e 69 74 69 61 | 6c 69 7a 65 64 2e 20 0a |y initia|lized. .|
|00003210| 20 20 20 20 0a 4b 56 49 | 4b 4b 41 4c 4b 55 4c 20 | .KVI|KKALKUL |
|00003220| 54 4f 44 41 59 0a 0a 49 | 20 6c 65 66 74 20 74 68 |TODAY..I| left th|
|00003230| 65 20 53 77 65 64 69 73 | 68 20 4e 61 76 79 20 69 |e Swedis|h Navy i|
|00003240| 6e 20 31 39 35 38 20 61 | 6e 64 20 6e 6f 77 20 49 |n 1958 a|nd now I|
|00003250| 20 6c 69 76 65 20 69 6e | 20 61 20 63 6f 75 6e 74 | live in| a count|
|00003260| 72 79 20 77 68 6f 73 65 | 20 6e 61 6d 65 20 49 20 |ry whose| name I |
|00003270| 0a 72 61 74 68 65 72 20 | 6e 6f 74 20 74 65 6c 6c |.rather |not tell|
|00003280| 2e 20 49 20 66 65 61 72 | 20 74 68 61 74 20 49 20 |. I fear| that I |
|00003290| 77 69 6c 6c 20 62 65 20 | 65 78 74 72 61 64 69 74 |will be |extradit|
|000032a0| 65 64 20 74 6f 20 53 77 | 65 64 65 6e 20 69 66 20 |ed to Sw|eden if |
|000032b0| 74 68 65 20 0a 53 77 65 | 64 69 73 68 20 61 75 74 |the .Swe|dish aut|
|000032c0| 68 6f 72 69 74 69 65 73 | 20 73 65 65 20 74 68 69 |horities| see thi|
|000032d0| 73 20 6d 65 73 73 61 67 | 65 2e 20 57 68 61 74 20 |s messag|e. What |
|000032e0| 49 20 64 65 73 63 72 69 | 62 65 64 20 77 61 73 20 |I descri|bed was |
|000032f0| 74 68 65 20 73 74 61 74 | 65 20 6f 66 0a 6b 76 69 |the stat|e of.kvi|
|00003300| 6b 6b 61 6c 6b 75 6c 20 | 69 6e 20 31 39 35 38 2e |kkalkul |in 1958.|
|00003310| 20 57 68 61 74 20 49 20 | 74 65 6c 6c 20 69 6e 20 | What I |tell in |
|00003320| 74 68 69 73 20 73 65 63 | 74 69 6f 6e 20 69 73 20 |this sec|tion is |
|00003330| 62 61 73 65 64 20 6f 6e | 20 72 75 6d 6f 75 72 73 |based on| rumours|
|00003340| 2c 0a 6f 6e 20 74 69 6e | 79 20 70 69 65 63 65 73 |,.on tin|y pieces|
|00003350| 20 6f 66 20 69 6e 66 6f | 72 6d 61 74 69 6f 6e 20 | of info|rmation |
|00003360| 49 20 67 6f 74 20 66 72 | 6f 6d 20 63 6f 6c 6c 65 |I got fr|om colle|
|00003370| 61 67 75 65 73 20 61 6e | 64 20 6f 6e 20 69 6e 74 |agues an|d on int|
|00003380| 65 6c 6c 69 67 65 6e 74 | 0a 67 75 65 73 73 77 6f |elligent|.guesswo|
|00003390| 72 6b 2e 0a 0a 4b 76 69 | 6b 6b 61 6c 6b 75 6c 20 |rk...Kvi|kkalkul |
|000033a0| 69 73 20 73 74 69 6c 6c | 20 69 6e 20 75 73 65 20 |is still| in use |
|000033b0| 74 6f 64 61 79 2c 20 61 | 74 20 6c 65 61 73 74 20 |today, a|t least |
|000033c0| 74 68 61 74 20 77 61 73 | 20 74 68 65 20 63 61 73 |that was| the cas|
|000033d0| 65 20 69 6e 20 31 39 39 | 31 2e 20 0a 54 68 65 72 |e in 199|1. .Ther|
|000033e0| 65 20 69 73 20 61 6e 20 | 41 64 61 20 74 6f 20 6b |e is an |Ada to k|
|000033f0| 76 69 6b 6b 61 6c 6b 75 | 6c 20 74 72 61 6e 73 6c |vikkalku|l transl|
|00003400| 61 74 6f 72 20 61 6e 64 | 20 6d 6f 73 74 20 6e 65 |ator and| most ne|
|00003410| 77 20 70 72 6f 67 72 61 | 6d 73 20 61 72 65 0a 77 |w progra|ms are.w|
|00003420| 72 69 74 74 65 6e 20 69 | 6e 20 41 64 61 20 61 6e |ritten i|n Ada an|
|00003430| 64 20 74 68 65 6e 20 74 | 72 61 6e 73 6c 61 74 65 |d then t|ranslate|
|00003440| 64 20 74 6f 20 6b 76 69 | 6b 6b 61 6c 6b 75 6c 2e |d to kvi|kkalkul.|
|00003450| 20 54 68 65 20 6b 76 69 | 6b 6b 61 6c 6b 75 6c 0a | The kvi|kkalkul.|
|00003460| 76 65 72 73 69 6f 6e 20 | 77 61 73 20 74 68 65 20 |version |was the |
|00003470| 64 65 66 69 6e 69 74 69 | 76 65 20 70 72 6f 67 72 |definiti|ve progr|
|00003480| 61 6d 20 74 68 61 74 20 | 77 61 73 20 72 65 76 69 |am that |was revi|
|00003490| 65 77 65 64 2c 20 61 70 | 70 72 6f 76 65 64 2c 0a |ewed, ap|proved,.|
|000034a0| 74 65 73 74 65 64 20 61 | 6e 64 20 6d 61 69 6e 74 |tested a|nd maint|
|000034b0| 61 69 6e 65 64 2e 20 54 | 68 65 72 65 20 77 61 73 |ained. T|here was|
|000034c0| 20 61 6c 73 6f 20 61 20 | 53 69 6d 75 6c 61 20 74 | also a |Simula t|
|000034d0| 6f 20 6b 76 69 6b 6b 61 | 6c 6b 75 6c 20 74 72 61 |o kvikka|lkul tra|
|000034e0| 6e 73 6c 61 74 6f 72 0a | 69 6e 20 74 68 65 20 37 |nslator.|in the 7|
|000034f0| 30 73 20 61 6e 64 20 73 | 6f 6d 65 20 70 72 6f 67 |0s and s|ome prog|
|00003500| 72 61 6d 73 20 77 65 72 | 65 20 77 72 69 74 74 65 |rams wer|e writte|
|00003510| 6e 20 77 69 74 68 20 69 | 74 2e 20 0a 0a 53 6f 6d |n with i|t. ..Som|
|00003520| 65 20 63 68 61 6e 67 65 | 73 20 68 61 76 65 20 62 |e change|s have b|
|00003530| 65 65 6e 20 6d 61 64 65 | 20 74 6f 20 74 68 65 20 |een made| to the |
|00003540| 6c 61 6e 67 75 61 67 65 | 2e 0a 54 68 65 20 67 75 |language|..The gu|
|00003550| 61 72 61 6e 74 65 65 64 | 20 70 72 65 63 69 73 69 |aranteed| precisi|
|00003560| 6f 6e 20 6f 66 20 6e 75 | 6d 62 65 72 73 20 77 61 |on of nu|mbers wa|
|00003570| 73 20 69 6e 63 72 65 61 | 73 65 64 20 6f 76 65 72 |s increa|sed over|
|00003580| 20 74 68 65 20 79 65 61 | 72 73 20 61 6e 64 0a 69 | the yea|rs and.i|
|00003590| 73 20 6e 6f 77 20 61 74 | 20 6c 65 61 73 74 20 33 |s now at| least 3|
|000035a0| 32 20 62 69 74 73 2e 20 | 56 61 6c 69 64 20 6c 61 |2 bits. |Valid la|
|000035b0| 62 65 6c 20 6e 75 6d 62 | 65 72 73 20 61 72 65 20 |bel numb|ers are |
|000035c0| 6e 6f 77 20 69 6e 20 74 | 68 65 20 72 61 6e 67 65 |now in t|he range|
|000035d0| 0a 30 2e 2e 34 30 30 30 | 30 30 30 30 30 30 20 77 |.0..4000|000000 w|
|000035e0| 69 74 68 20 73 6f 6d 65 | 20 68 61 70 68 61 7a 61 |ith some| haphaza|
|000035f0| 72 64 20 72 65 73 65 72 | 76 65 64 20 61 72 65 61 |rd reser|ved area|
|00003600| 73 20 66 6f 72 20 6c 69 | 62 72 61 72 79 20 72 6f |s for li|brary ro|
|00003610| 75 74 69 6e 65 73 20 61 | 6e 64 0a 69 6e 74 65 72 |utines a|nd.inter|
|00003620| 6e 61 6c 6c 79 20 75 73 | 65 64 20 6c 61 62 65 6c |nally us|ed label|
|00003630| 73 2e 20 4d 6f 73 74 20 | 6c 69 62 72 61 72 79 20 |s. Most |library |
|00003640| 72 6f 75 74 69 6e 65 73 | 20 74 68 61 74 20 61 72 |routines| that ar|
|00003650| 65 20 77 69 64 65 6c 79 | 20 75 73 65 64 20 74 6f |e widely| used to|
|00003660| 64 61 79 0a 6c 69 65 20 | 69 6e 20 74 68 65 20 72 |day.lie |in the r|
|00003670| 61 6e 67 65 20 36 30 30 | 30 31 2d 36 35 35 33 35 |ange 600|01-65535|
|00003680| 2e 20 49 20 68 61 76 65 | 20 6e 6f 20 64 65 74 61 |. I have| no deta|
|00003690| 69 6c 73 20 6f 66 20 74 | 68 65 6d 2e 20 0a 0a 54 |ils of t|hem. ..T|
|000036a0| 68 65 20 6c 61 6e 67 75 | 61 67 65 20 69 74 73 65 |he langu|age itse|
|000036b0| 6c 66 20 72 65 6d 61 69 | 6e 65 64 20 72 65 6d 61 |lf remai|ned rema|
|000036c0| 72 6b 61 62 6c 79 20 63 | 6f 6e 73 74 61 6e 74 2e |rkably c|onstant.|
|000036d0| 20 49 74 27 73 20 73 74 | 69 6c 6c 20 61 20 6c 61 | It's st|ill a la|
|000036e0| 6e 67 75 61 67 65 0a 77 | 69 74 68 6f 75 74 20 6c |nguage.w|ithout l|
|000036f0| 65 74 74 65 72 73 20 61 | 6e 64 20 74 68 65 20 73 |etters a|nd the s|
|00003700| 6d 69 6c 65 79 20 6e 6f | 74 61 74 69 6f 6e 20 66 |miley no|tation f|
|00003710| 6f 72 20 6f 70 65 72 61 | 74 6f 72 73 20 69 6e 20 |or opera|tors in |
|00003720| 73 74 69 6c 6c 20 69 6e | 20 75 73 65 2c 0a 74 68 |still in| use,.th|
|00003730| 6f 75 67 68 20 66 6f 72 | 20 73 6f 75 72 63 65 20 |ough for| source |
|00003740| 74 65 78 74 20 74 68 65 | 20 61 6e 67 6c 65 20 62 |text the| angle b|
|00003750| 72 61 63 6b 65 74 73 20 | 6d 61 79 20 62 65 20 75 |rackets |may be u|
|00003760| 73 65 64 20 69 6e 73 74 | 65 61 64 20 6f 66 20 70 |sed inst|ead of p|
|00003770| 61 72 65 6e 74 68 65 73 | 65 73 0a 61 6e 64 20 2b |arenthes|es.and +|
|00003780| 20 61 6e 64 20 3d 20 61 | 72 65 20 76 61 6c 69 64 | and = a|re valid|
|00003790| 20 73 75 62 73 74 69 74 | 75 74 65 73 20 66 6f 72 | substit|utes for|
|000037a0| 20 74 68 65 20 2d 2f 2d | 20 61 6e 64 20 3a 3a 20 | the -/-| and :: |
|000037b0| 6f 70 65 72 61 74 6f 72 | 73 2e 20 4e 6f 77 0a 6e |operator|s. Now.n|
|000037c0| 65 77 20 63 6f 6e 73 74 | 72 75 63 74 20 68 61 76 |ew const|ruct hav|
|000037d0| 65 20 62 65 65 6e 20 61 | 64 64 65 64 20 61 6e 64 |e been a|dded and|
|000037e0| 20 74 68 65 20 6f 6e 6c | 79 20 64 61 74 61 20 74 | the onl|y data t|
|000037f0| 79 70 65 20 69 6e 20 74 | 68 65 20 6c 61 6e 67 75 |ype in t|he langu|
|00003800| 61 67 65 0a 69 73 20 73 | 74 69 6c 6c 20 74 68 65 |age.is s|till the|
|00003810| 20 66 69 78 65 64 20 70 | 6f 69 6e 74 20 66 72 61 | fixed p|oint fra|
|00003820| 63 74 69 6f 6e 61 6c 20 | 6e 75 6d 62 65 72 2e 20 |ctional |number. |
|00003830| 20 43 68 61 6e 6e 65 6c | 20 6e 75 6d 62 65 72 20 | Channel| number |
|00003840| 33 20 66 6f 72 0a 74 68 | 65 20 72 61 6e 64 6f 6d |3 for.th|e random|
|00003850| 20 67 65 6e 65 72 61 74 | 6f 72 20 68 61 73 20 62 | generat|or has b|
|00003860| 65 65 6e 20 64 65 6c 65 | 74 65 64 20 61 6e 64 20 |een dele|ted and |
|00003870| 6e 75 6d 62 65 72 73 20 | 38 20 61 6e 64 20 39 20 |numbers |8 and 9 |
|00003880| 77 65 72 65 20 61 64 64 | 65 64 2e 0a 0a 43 68 61 |were add|ed...Cha|
|00003890| 6e 6e 65 6c 20 39 20 69 | 73 20 74 68 65 20 4f 53 |nnel 9 i|s the OS|
|000038a0| 20 73 75 70 65 72 76 69 | 73 6f 72 79 20 63 68 61 | supervi|sory cha|
|000038b0| 6e 6e 65 6c 2e 20 42 79 | 20 73 65 6e 64 69 6e 67 |nnel. By| sending|
|000038c0| 20 6d 65 73 73 61 67 65 | 73 20 74 6f 20 69 74 2c | message|s to it,|
|000038d0| 20 79 6f 75 20 63 61 6e | 20 0a 61 73 73 69 67 6e | you can| .assign|
|000038e0| 20 61 72 62 69 74 72 61 | 72 79 20 66 69 6c 65 73 | arbitra|ry files|
|000038f0| 20 74 6f 20 74 68 65 20 | 63 68 61 6e 6e 65 6c 73 | to the |channels|
|00003900| 20 30 2c 20 31 2c 20 61 | 6e 64 20 33 20 74 68 72 | 0, 1, a|nd 3 thr|
|00003910| 6f 75 67 68 20 37 2e 20 | 59 6f 75 20 63 61 6e 0a |ough 7. |You can.|
|00003920| 73 70 65 63 69 66 79 20 | 74 68 65 20 63 68 61 72 |specify |the char|
|00003930| 61 63 74 65 72 20 63 6f | 6e 76 65 72 73 69 6f 6e |acter co|nversion|
|00003940| 20 74 79 70 65 20 6f 66 | 20 74 68 65 20 63 68 61 | type of| the cha|
|00003950| 6e 6e 65 6c 73 2e 20 49 | 74 20 69 73 20 70 6f 73 |nnels. I|t is pos|
|00003960| 73 69 62 6c 65 0a 74 6f | 20 63 6f 6e 6e 65 63 74 |sible.to| connect|
|00003970| 20 63 68 61 6e 6e 65 6c | 20 30 20 74 6f 20 61 6e | channel| 0 to an|
|00003980| 20 41 53 43 49 49 20 74 | 65 72 6d 69 6e 61 6c 20 | ASCII t|erminal |
|00003990| 61 6e 64 20 63 6f 6e 76 | 65 72 74 20 61 6c 6c 20 |and conv|ert all |
|000039a0| 69 6e 63 6f 6d 69 6e 67 | 0a 63 68 61 72 61 63 74 |incoming|.charact|
|000039b0| 65 72 73 20 74 6f 20 28 | 6d 6f 72 65 20 6f 72 20 |ers to (|more or |
|000039c0| 6c 65 73 73 29 20 42 61 | 75 64 6f 74 20 65 71 75 |less) Ba|udot equ|
|000039d0| 69 76 61 6c 65 6e 74 73 | 20 61 6e 64 20 63 6f 6e |ivalents| and con|
|000039e0| 76 65 72 74 20 61 6c 6c | 20 6f 75 74 67 6f 69 6e |vert all| outgoin|
|000039f0| 67 0a 42 61 75 64 6f 74 | 20 63 68 61 72 61 63 74 |g.Baudot| charact|
|00003a00| 65 72 73 20 62 61 63 6b | 20 74 6f 20 41 53 43 49 |ers back| to ASCI|
|00003a10| 49 2e 20 49 6e 20 66 61 | 63 74 20 74 68 69 73 20 |I. In fa|ct this |
|00003a20| 69 73 20 74 68 65 20 64 | 65 66 61 75 6c 74 0a 66 |is the d|efault.f|
|00003a30| 6f 72 20 63 68 61 6e 6e | 65 6c 73 20 30 20 61 6e |or chann|els 0 an|
|00003a40| 64 20 31 2e 20 41 6c 6c | 20 74 79 70 69 63 61 6c |d 1. All| typical|
|00003a50| 20 4f 53 20 73 65 72 76 | 69 63 65 73 20 63 61 6e | OS serv|ices can|
|00003a60| 20 62 65 20 61 63 63 65 | 73 73 65 64 20 74 68 72 | be acce|ssed thr|
|00003a70| 6f 75 67 68 0a 63 68 61 | 6e 6e 65 6c 20 39 2e 0a |ough.cha|nnel 9..|
|00003a80| 0a 43 68 61 6e 6e 65 6c | 20 38 20 69 73 20 74 68 |.Channel| 8 is th|
|00003a90| 65 20 66 6c 6f 61 74 69 | 6e 67 20 70 6f 69 6e 74 |e floati|ng point|
|00003aa0| 20 70 72 6f 63 65 73 73 | 6f 72 2e 20 59 6f 75 20 | process|or. You |
|00003ab0| 63 61 6e 20 73 65 6e 64 | 20 6e 75 6d 62 65 72 73 |can send| numbers|
|00003ac0| 20 61 6e 64 20 0a 6f 70 | 63 6f 64 65 73 20 74 6f | and .op|codes to|
|00003ad0| 20 69 74 20 61 6e 64 20 | 72 65 74 72 69 65 76 65 | it and |retrieve|
|00003ae0| 20 74 68 65 20 63 6f 6d | 70 75 74 65 64 20 72 65 | the com|puted re|
|00003af0| 73 75 6c 74 73 2e 20 54 | 68 65 20 6e 75 6d 62 65 |sults. T|he numbe|
|00003b00| 72 73 20 74 68 61 74 20 | 79 6f 75 0a 73 65 6e 64 |rs that |you.send|
|00003b10| 20 74 6f 20 69 74 20 61 | 72 65 20 33 32 2d 62 69 | to it a|re 32-bi|
|00003b20| 74 20 66 72 61 63 74 69 | 6f 6e 61 6c 73 20 74 68 |t fracti|onals th|
|00003b30| 61 74 20 62 65 61 72 20 | 6e 6f 20 72 65 6c 61 74 |at bear |no relat|
|00003b40| 69 6f 6e 73 68 69 70 20 | 74 6f 20 74 68 65 20 46 |ionship |to the F|
|00003b50| 50 0a 6e 75 6d 62 65 72 | 73 20 61 73 20 74 68 65 |P.number|s as the|
|00003b60| 20 46 50 20 70 72 6f 63 | 65 73 73 6f 72 20 73 65 | FP proc|essor se|
|00003b70| 65 73 20 74 68 65 6d 2e | 20 54 68 65 72 65 20 61 |es them.| There a|
|00003b80| 72 65 20 6c 69 62 72 61 | 72 79 20 72 6f 75 74 69 |re libra|ry routi|
|00003b90| 6e 65 73 0a 66 6f 72 20 | 70 72 69 6e 74 69 6e 67 |nes.for |printing|
|00003ba0| 20 61 6e 64 20 72 65 61 | 64 69 6e 67 20 74 68 65 | and rea|ding the|
|00003bb0| 6d 2e 20 54 68 65 20 36 | 34 30 30 30 30 20 74 79 |m. The 6|40000 ty|
|00003bc0| 70 65 20 73 74 61 6e 64 | 61 72 64 20 46 50 20 6c |pe stand|ard FP l|
|00003bd0| 69 62 72 61 72 79 0a 63 | 61 6c 6c 73 20 77 65 72 |ibrary.c|alls wer|
|00003be0| 65 20 6d 61 64 65 20 6f | 62 73 6f 6c 65 74 65 20 |e made o|bsolete |
|00003bf0| 62 79 20 63 68 61 6e 6e | 65 6c 20 38 2e 20 54 68 |by chann|el 8. Th|
|00003c00| 65 79 20 73 74 69 6c 6c | 20 77 6f 72 6b 2e 0a 0a |ey still| work...|
|00003c10| 41 6e 20 65 78 2d 63 6f | 6c 6c 65 61 67 75 65 20 |An ex-co|lleague |
|00003c20| 6f 66 20 6d 69 6e 65 20 | 74 72 69 65 64 20 6d 79 |of mine |tried my|
|00003c30| 20 61 63 63 6f 75 6e 74 | 69 6e 67 20 70 61 63 6b | account|ing pack|
|00003c40| 61 67 65 20 66 72 6f 6d | 20 31 39 35 38 20 6f 6e |age from| 1958 on|
|00003c50| 0a 61 20 6d 6f 64 65 72 | 6e 20 6b 76 69 6b 6b 61 |.a moder|n kvikka|
|00003c60| 6c 6b 75 6c 20 63 6f 6d | 70 69 6c 65 72 20 69 6e |lkul com|piler in|
|00003c70| 20 31 39 39 31 2e 20 49 | 74 20 73 74 69 6c 6c 20 | 1991. I|t still |
|00003c80| 77 6f 72 6b 73 20 66 6c | 61 77 6c 65 73 73 6c 79 |works fl|awlessly|
|00003c90| 2c 20 65 78 63 65 70 74 | 0a 74 68 61 74 20 74 68 |, except|.that th|
|00003ca0| 65 20 79 65 61 72 20 63 | 61 6e 6e 6f 74 20 62 65 |e year c|annot be|
|00003cb0| 20 73 65 74 20 62 65 79 | 6f 6e 64 20 31 39 37 33 | set bey|ond 1973|
|00003cc0| 2e 20 48 65 20 68 61 64 | 20 74 6f 20 72 65 74 79 |. He had| to rety|
|00003cd0| 70 65 20 74 68 65 20 70 | 72 6f 67 72 61 6d 0a 62 |pe the p|rogram.b|
|00003ce0| 79 20 68 61 6e 64 20 61 | 73 20 74 68 65 72 65 20 |y hand a|s there |
|00003cf0| 77 61 73 20 6e 6f 20 73 | 75 69 74 61 62 6c 65 20 |was no s|uitable |
|00003d00| 35 2d 62 69 74 20 42 61 | 75 64 6f 74 20 70 61 70 |5-bit Ba|udot pap|
|00003d10| 65 72 20 74 61 70 65 20 | 72 65 61 64 65 72 20 66 |er tape |reader f|
|00003d20| 6f 72 0a 74 68 65 20 73 | 79 73 74 65 6d 2e 20 0a |or.the s|ystem. .|
|00003d30| 0a 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|00003d40| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003d50| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003d60| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003d70| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0a 54 6f 20 66 69 |--------|--.To fi|
|00003d80| 6e 64 20 6f 75 74 20 6d | 6f 72 65 20 61 62 6f 75 |nd out m|ore abou|
|00003d90| 74 20 74 68 65 20 61 6e | 6f 6e 20 73 65 72 76 69 |t the an|on servi|
|00003da0| 63 65 2c 20 73 65 6e 64 | 20 6d 61 69 6c 20 74 6f |ce, send| mail to|
|00003db0| 20 68 65 6c 70 40 61 6e | 6f 6e 2e 70 65 6e 65 74 | help@an|on.penet|
|00003dc0| 2e 66 69 2e 0a 44 75 65 | 20 74 6f 20 74 68 65 20 |.fi..Due| to the |
|00003dd0| 64 6f 75 62 6c 65 2d 62 | 6c 69 6e 64 2c 20 61 6e |double-b|lind, an|
|00003de0| 79 20 6d 61 69 6c 20 72 | 65 70 6c 69 65 73 20 74 |y mail r|eplies t|
|00003df0| 6f 20 74 68 69 73 20 6d | 65 73 73 61 67 65 20 77 |o this m|essage w|
|00003e00| 69 6c 6c 20 62 65 20 61 | 6e 6f 6e 79 6d 69 7a 65 |ill be a|nonymize|
|00003e10| 64 2c 0a 61 6e 64 20 61 | 6e 20 61 6e 6f 6e 79 6d |d,.and a|n anonym|
|00003e20| 6f 75 73 20 69 64 20 77 | 69 6c 6c 20 62 65 20 61 |ous id w|ill be a|
|00003e30| 6c 6c 6f 63 61 74 65 64 | 20 61 75 74 6f 6d 61 74 |llocated| automat|
|00003e40| 69 63 61 6c 6c 79 2e 20 | 59 6f 75 20 68 61 76 65 |ically. |You have|
|00003e50| 20 62 65 65 6e 20 77 61 | 72 6e 65 64 2e 0a 50 6c | been wa|rned..Pl|
|00003e60| 65 61 73 65 20 72 65 70 | 6f 72 74 20 61 6e 79 20 |ease rep|ort any |
|00003e70| 70 72 6f 62 6c 65 6d 73 | 2c 20 69 6e 61 70 70 72 |problems|, inappr|
|00003e80| 6f 70 72 69 61 74 65 20 | 75 73 65 20 65 74 63 2e |opriate |use etc.|
|00003e90| 20 74 6f 20 61 64 6d 69 | 6e 40 61 6e 6f 6e 2e 70 | to admi|n@anon.p|
|00003ea0| 65 6e 65 74 2e 66 69 2e | 0a 0a |enet.fi.|.. |
+--------+-------------------------+-------------------------+--------+--------+